public class ArrowNockEvent extends PlayerEvent
ItemBow.onItemRightClick(World, EntityPlayer, EnumHand).MinecraftForge.EVENT_BUS.PlayerEvent.BreakSpeed, PlayerEvent.Clone, PlayerEvent.HarvestCheck, PlayerEvent.LoadFromFile, PlayerEvent.NameFormat, PlayerEvent.SaveToFile, PlayerEvent.StartTracking, PlayerEvent.StopTracking, PlayerEvent.VisibilityLivingEvent.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, @Nonnull ItemStack item, EnumHand hand, World world, boolean hasAmmo)
@Nonnull public ItemStack getBow()
public World getWorld()
public EnumHand getHand()
public boolean hasAmmo()
public ActionResult<ItemStack> getAction()
public void setAction(ActionResult<ItemStack> action)