public class UseHoeEvent 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 |
|---|---|
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 |
entityPlayerentityLivingentity| Constructor and Description |
|---|
UseHoeEvent(EntityPlayer player,
ItemStack current,
World world,
int x,
int y,
int z) |
getListenerList, getResult, hasResult, isCancelable, isCanceled, setCanceled, setResult, setuppublic 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)