- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
createExplosion(float centerX,
float centerY,
float centerZ,
float strength,
net.kyori.adventure.nbt.CompoundBinaryTag additionalData)
-
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