public class LivingDestroyBlockEvent extends LivingEvent
Block.canEntityDestroy(IBlockState, IBlockAccess, BlockPos, Entity)Cancelable.HasResultMinecraftForge.EVENT_BUS.LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEventEntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructingEvent.HasResult, Event.Result| Modifier and Type | Field and Description |
|---|---|
private BlockPos |
pos |
private IBlockState |
state |
| Constructor and Description |
|---|
LivingDestroyBlockEvent(EntityLivingBase entity,
BlockPos pos,
IBlockState state) |
| Modifier and Type | Method and Description |
|---|---|
BlockPos |
getPos() |
IBlockState |
getState() |
getEntityLivinggetEntitygetListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setupprivate final BlockPos pos
private final IBlockState state
public LivingDestroyBlockEvent(EntityLivingBase entity, BlockPos pos, IBlockState state)
public IBlockState getState()
public BlockPos getPos()