Posted August 7, 201510 yr I am interested in replacing an item's onItemUse method, in this particular case, I want to prevent redstone dust from placing redstone.
August 7, 201510 yr Use PlayerInteractEvent, check if the player is right clicking a block while holding redstone, and if they are, cancel the event. If I helped please press the Thank You button. Check out my mods at http://www.curse.com/users/The_Fireplace/projects
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.