    001    package net.minecraftforge.event.entity.player;
    002
    003    import net.minecraft.entity.player.EntityPlayer;
    004    import net.minecraft.item.ItemStack;
    005    import net.minecraftforge.event.Cancelable;
    006
    007    @Cancelable
    008    public class ArrowLooseEvent extends PlayerEvent
    009    {
    010        public final ItemStack bow;
    011        public int charge;
    012
    013        public ArrowLooseEvent(EntityPlayer player, ItemStack bow, int charge)
    014        {
    015            super(player);
    016            this.bow = bow;
    017            this.charge = charge;
    018        }
    019    }