public class LivingDestroyBlockEvent extends LivingEvent
Block#canEntityDestroy(IBlockState, IBlockAccess, BlockPos, Entity)
Cancelable
.HasResult
MinecraftForge.EVENT_BUS
.LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEvent
EntityEvent.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() |
getEntityLiving
getEntity
public LivingDestroyBlockEvent(LivingEntity entity, BlockPos pos, BlockState state)
public BlockState getState()
public BlockPos getPos()