Posted February 21, 201411 yr If I use if in my bow right Click the texture bugs and I can't shoot public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer) { ExtendedPlayer props = ExtendedPlayer.get(par3EntityPlayer); if(props.Volk == Volk_1 || props.Volk == Volk_2 || props.Volk == Volk_3 || props.Volk == Volk_4 || props.Volk == Volk_5) { ArrowNockEvent event = new ArrowNockEvent(par3EntityPlayer, par1ItemStack); MinecraftForge.EVENT_BUS.post(event); if (event.isCanceled()) { return event.result; } if (par3EntityPlayer.capabilities.isCreativeMode || par3EntityPlayer.inventory.hasItem(Item.arrow.itemID)) { par3EntityPlayer.setItemInUse(par1ItemStack, this.getMaxItemUseDuration(par1ItemStack)); } } return par1ItemStack; }
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.