public class ArrowNockEvent extends PlayerEvent
MinecraftForge#EVENT_BUS.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| Constructor and Description | 
|---|
| ArrowNockEvent(EntityPlayer player,
              ItemStack item,
              EnumHand hand,
              World world,
              boolean hasAmmo) | 
| Modifier and Type | Method and Description | 
|---|---|
| ActionResult<ItemStack> | getAction() | 
| ItemStack | getBow() | 
| EnumHand | getHand() | 
| World | getWorld() | 
| boolean | hasAmmo() | 
| void | setAction(ActionResult<ItemStack> action) | 
getEntityPlayergetEntityLivinggetEntitygetListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic ArrowNockEvent(EntityPlayer player, ItemStack item, EnumHand hand, World world, boolean hasAmmo)
public ItemStack getBow()
public World getWorld()
public EnumHand getHand()
public boolean hasAmmo()
public ActionResult<ItemStack> getAction()
public void setAction(ActionResult<ItemStack> action)