Started by
swelkinn_n
on
Topic category: Help with Minecraft modding (Java Edition)
I'm struggling with trying to find a fully working way to get an item to set something in both hands when used. All I want is for an item to go into your opposite hand when you hold another item, and clear when you remove it.
The only part i could not work out was a way to stop it being "broken". Holding a diamond sword and throwing the diamond block on the floor/in inventory gui's or clicking to pick it up means it can be duped over and over.
This might be a better option