}
@Override
public ItemStack onItemRightClick(ItemStack stack, World world, EntityPlayer player) {
ArrowNockEvent event = new ArrowNockEvent(player, stack);
MinecraftForge.EVENT_BUS.post(event);
if (event.isCanceled()) {
return event.result;
}
if (player.capabilities.isCreativeMode || player.inventory.hasItem(Items.arrow)) {
player.setItemInUse(stack, this.getMaxItemUseDuration(stack));
}