Exactly as I described. Which part do you have trouble with?
The code itself. I don't know what commands do what. I'm currently digging through the Forge code, and I can't find out how to test if the player right-clicks my block, or how to test what item is in the players hand.
Oh, I probably shoulda mentioned that in the first place. I don't know what kinda code I need to use.
How would I do that? Could you give me some code, and let me know what everything does in that code?
I'm new to making mods. I've been following the tutorial from Orange Tutorial. Now I want to make one of my blocks to spit out an item (I'll make it later, let's have it be a Diamond Sword for now) when I right-click it with another item I'm calling rumanID. This is what I have so far.