public class LivingDestroyBlockEvent extends LivingEvent
Block#canEntityDestroy(IBlockState, IBlockAccess, BlockPos, Entity)Cancelable.HasResultMinecraftForge.EVENT_BUS.LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEventEntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing, EntityEvent.EyeHeight| Modifier and Type | Field and Description |
|---|---|
private BlockPos |
pos |
private BlockState |
state |
| Constructor and Description |
|---|
LivingDestroyBlockEvent(LivingEntity entity,
BlockPos pos,
BlockState state) |
| Modifier and Type | Method and Description |
|---|---|
BlockPos |
getPos() |
BlockState |
getState() |
getEntityLivinggetEntityprivate final BlockPos pos
private final BlockState state
public LivingDestroyBlockEvent(LivingEntity entity, BlockPos pos, BlockState state)
public BlockState getState()
public BlockPos getPos()