Started by
Apollo
on
Topic category: Help with Minecraft modding (Java Edition)
For my mod I have a block that you can right click with any item, it consumes that item and then there is a chance you get two of that item back. However I can't seem to get the block to detect what item I am right-clicking. Help is appreciated.
You can go to player and select actions and there will be one to remove (amount) of (item) from player's inventory
player procedures*
When block is right clicked if random chance grow item in main hand by one else shrink item in main hand by 1