Minestom/src/main/java/net/minestom/server/instance/ExplosionSupplier.java
TheMode 1ad013e02e Remove deprecated data/storage APIs
Signed-off-by: TheMode <themode@outlook.fr>
2022-02-09 23:07:18 +01:00

21 lines
739 B
Java

package net.minestom.server.instance;
import org.jglrxavpok.hephaistos.nbt.NBTCompound;
@FunctionalInterface
public interface ExplosionSupplier {
/**
* Creates a new explosion
*
* @param centerX center X of the explosion
* @param centerY center Y of the explosion
* @param centerZ center Z of the explosion
* @param strength strength of the explosion
* @param additionalData data passed via {@link Instance#explode(float, float, float, float, NBTCompound)} )}. Can be null
* @return Explosion object representing the algorithm to use
*/
Explosion createExplosion(float centerX, float centerY, float centerZ, float strength, NBTCompound additionalData);
}