Posted March 30, 201510 yr Hey guys, I am making a mod that requires you to be able to click on an (A)item and have it be replaced with another item(B), and then when you click on it again it is replaced again with the item(A). How should I code this? [HE][/LP] Im serious don't look at it!!
March 30, 201510 yr Override onRightClick in Item class, and just return itemstack with the other item in the method. I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP) II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.
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.