public class LivingDestroyBlockEvent extends LivingEvent
Block#canEntityDestroy(IBlockState, IBlockAccess, BlockPos, Entity)Cancelable.HasResultMinecraftForge.EVENT_BUS.LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEventEntityEvent.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() |
getEntityLivinggetEntitypublic LivingDestroyBlockEvent(EntityLivingBase entity, BlockPos pos, IBlockState state)
public IBlockState getState()
public BlockPos getPos()