public class ArrowLooseEvent extends PlayerEvent
bow contains the ItemBow ItemStack that was used in this event.charge contains the value for how much the player had charged before stopping the shot.Cancelable.HasResultMinecraftForge#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| Modifier and Type | Field and Description |
|---|---|
ItemStack |
bow |
int |
charge |
entityPlayerentityLivingentity| Constructor and Description |
|---|
ArrowLooseEvent(EntityPlayer player,
ItemStack bow,
int charge) |
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic final ItemStack bow
public int charge
public ArrowLooseEvent(EntityPlayer player, ItemStack bow, int charge)