cn.nukkit.event.entity.EntityCombustByBlockEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of powernukkit Show documentation
Show all versions of powernukkit Show documentation
A Minecraft Bedrock Edition server software implementation made in Java from scratch which supports all new features.
package cn.nukkit.event.entity;
import cn.nukkit.block.Block;
import cn.nukkit.entity.Entity;
/**
* @author Box (Nukkit Project)
*/
public class EntityCombustByBlockEvent extends EntityCombustEvent {
protected final Block combuster;
public EntityCombustByBlockEvent(Block combuster, Entity combustee, int duration) {
super(combustee, duration);
this.combuster = combuster;
}
public Block getCombuster() {
return combuster;
}
}