Posted August 16, 201510 yr Hello modders, I am attempting to replace a specific block with a specific item whenever it is right clicked with a specific tool. Any thoughts?
August 16, 201510 yr Need to be more specific - do I understand correctly - when block is in world, you want some tool to destroy that block and drop item in its place? 1.7.10 is no longer supported by forge, you are on your own.
August 16, 201510 yr 1. PlayerInteractEvent 2. RIGHT_CLICK_BLOCK 3. player.getCurrentEquippedItem() 4. if (stack != null) 5. stack.getItem() == Items.apple 1.7.10 is no longer supported by forge, you are on your own.
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.