public class BonemealEvent extends PlayerEvent
PlayerEvent.BreakSpeed, PlayerEvent.Clone, PlayerEvent.HarvestCheck, PlayerEvent.LoadFromFile, PlayerEvent.NameFormat, PlayerEvent.SaveToFile, PlayerEvent.StartTracking, PlayerEvent.StopTracking, PlayerEvent.Visibility
LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEvent
EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing
Event.HasResult, Event.Result
Constructor and Description |
---|
BonemealEvent(EntityPlayer player,
World world,
BlockPos pos,
IBlockState block,
EnumHand hand,
ItemStack stack) |
Modifier and Type | Method and Description |
---|---|
IBlockState |
getBlock() |
EnumHand |
getHand() |
BlockPos |
getPos() |
ItemStack |
getStack() |
World |
getWorld() |
getEntityPlayer
getEntityLiving
getEntity
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public BonemealEvent(@Nonnull EntityPlayer player, @Nonnull World world, @Nonnull BlockPos pos, @Nonnull IBlockState block, @Nullable EnumHand hand, @Nonnull ItemStack stack)
public World getWorld()
public BlockPos getPos()
public IBlockState getBlock()
@Nullable public EnumHand getHand()
@Nonnull public ItemStack getStack()