    001    package net.minecraftforge.event.entity.player;
    002
    003    import net.minecraft.src.EntityPlayer;
    004    import net.minecraft.src.ItemStack;
    005    import net.minecraftforge.event.Cancelable;
    006
    007    @Cancelable
    008    public class ArrowNockEvent extends PlayerEvent
    009    {
    010        public ItemStack result;
    011
    012        public ArrowNockEvent(EntityPlayer player, ItemStack result)
    013        {
    014            super(player);
    015            this.result = result;
    016        }
    017    }