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
Event.HasResult, Event.Result
Constructor and Description |
---|
LivingDestroyBlockEvent(EntityLivingBase entity,
BlockPos pos,
IBlockState state) |
Modifier and Type | Method and Description |
---|---|
BlockPos |
getPos() |
IBlockState |
getState() |
getEntityLiving
getEntity
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public LivingDestroyBlockEvent(EntityLivingBase entity, BlockPos pos, IBlockState state)
public IBlockState getState()
public BlockPos getPos()