Package net.minestom.server.instance
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.
-
Method Summary
Modifier and TypeMethodDescriptioncreateExplosion
(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 explosioncenterY
- center Y of the explosioncenterZ
- center Z of the explosionstrength
- strength of the explosionadditionalData
- data passed viaInstance.explode(float, float, float, float, NBTCompound)
)}. Can be null- Returns:
- Explosion object representing the algorithm to use
-