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| Constructor and Description |
|---|
LivingDestroyBlockEvent(LivingEntity entity,
BlockPos pos,
BlockState state) |
| Modifier and Type | Method and Description |
|---|---|
BlockPos |
getPos() |
BlockState |
getState() |
getEntityLivinggetEntitypublic LivingDestroyBlockEvent(LivingEntity entity, BlockPos pos, BlockState state)
public BlockState getState()
public BlockPos getPos()