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, net.kyori.adventure.nbt.CompoundBinaryTag additionalData)
    Creates a new explosion
  • Method Details

    • createExplosion

      Explosion createExplosion(float centerX, float centerY, float centerZ, float strength, net.kyori.adventure.nbt.CompoundBinaryTag 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, CompoundBinaryTag) )}. Can be null
      Returns:
      Explosion object representing the algorithm to use