public class UseHoeEvent 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
Modifier and Type | Field and Description |
---|---|
private ItemStack |
current |
private BlockPos |
pos |
private World |
world |
Constructor and Description |
---|
UseHoeEvent(EntityPlayer player,
ItemStack current,
World world,
BlockPos pos) |
Modifier and Type | Method and Description |
---|---|
ItemStack |
getCurrent() |
BlockPos |
getPos() |
World |
getWorld() |
getEntityPlayer
getEntityLiving
getEntity
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup