public class BonemealEvent extends PlayerEvent
PlayerEvent.BreakSpeed, PlayerEvent.Clone, PlayerEvent.HarvestCheck, PlayerEvent.LoadFromFile, PlayerEvent.NameFormat, PlayerEvent.SaveToFile, PlayerEvent.StartTracking, PlayerEvent.StopTracking
LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEvent
EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing
Event.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.
|
entityPlayer
entityLiving
entity
Constructor and Description |
---|
BonemealEvent(EntityPlayer player,
World world,
BlockPos pos,
IBlockState block) |
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public final World world
public final BlockPos pos
public final IBlockState block
public BonemealEvent(EntityPlayer player, World world, BlockPos pos, IBlockState block)