public class UseHoeEvent extends PlayerEvent
PlayerEvent.BreakSpeed, PlayerEvent.Clone, PlayerEvent.HarvestCheck, PlayerEvent.NameFormat, PlayerEvent.StartTracking, PlayerEvent.StopTracking
LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEvent
EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing
Event.HasResult, Event.Result
Modifier and Type | Field and Description |
---|---|
ItemStack |
current
This event is fired when a player attempts to use a Hoe on a block, it
can be canceled to completely prevent any further processing.
|
World |
world |
int |
x |
int |
y |
int |
z |
entityPlayer
entityLiving
entity
Constructor and Description |
---|
UseHoeEvent(EntityPlayer player,
ItemStack current,
World world,
int x,
int y,
int z) |
getListenerList, getResult, hasResult, isCancelable, isCanceled, setCanceled, setResult, setup
public final ItemStack current
public final World world
public final int x
public final int y
public final int z
public UseHoeEvent(EntityPlayer player, ItemStack current, World world, int x, int y, int z)