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
Constructor and Description |
---|
LivingDestroyBlockEvent(EntityLivingBase entity,
BlockPos pos,
IBlockState state) |
Modifier and Type | Method and Description |
---|---|
BlockPos |
getPos() |
IBlockState |
getState() |
getEntityLiving
getEntity
public LivingDestroyBlockEvent(EntityLivingBase entity, BlockPos pos, IBlockState state)
public IBlockState getState()
public BlockPos getPos()