public class BonemealEvent extends PlayerEvent
PlayerEvent.BreakSpeed, PlayerEvent.Clone, PlayerEvent.HarvestCheck, PlayerEvent.LoadFromFile, PlayerEvent.NameFormat, PlayerEvent.SaveToFile, PlayerEvent.StartTracking, PlayerEvent.StopTrackingLivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEventEntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructingEvent.HasResult, Event.Result| Modifier and Type | Field and Description |
|---|---|
IBlockState |
block |
BlockPos |
pos |
World |
world
This event is called when a player attempts to use Bonemeal on a block.
|
entityPlayerentityLivingentity| Constructor and Description |
|---|
BonemealEvent(EntityPlayer player,
World world,
BlockPos pos,
IBlockState block) |
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic final World world
public final BlockPos pos
public final IBlockState block
public BonemealEvent(EntityPlayer player, World world, BlockPos pos, IBlockState block)