Interface ExplosionSupplier

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ExplosionSupplier
  • Method Summary

    Modifier and Type
    Method
    Description
    createExplosion(float centerX, float centerY, float centerZ, float strength, org.jglrxavpok.hephaistos.nbt.NBTCompound additionalData)
    Creates a new explosion
  • Method Details

    • createExplosion

      Explosion createExplosion(float centerX, float centerY, float centerZ, float strength, org.jglrxavpok.hephaistos.nbt.NBTCompound additionalData)
      Creates a new explosion
      Parameters:
      centerX - center X of the explosion
      centerY - center Y of the explosion
      centerZ - center Z of the explosion
      strength - strength of the explosion
      additionalData - data passed via Instance.explode(float, float, float, float, NBTCompound) )}. Can be null
      Returns:
      Explosion object representing the algorithm to use