Set item in both hands while holding an item

Started by swelkinn_n on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 week ago
Joined Oct 2020
Points:
846

User statistics:

  • Modifications: 2
  • Forum topics: 44
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 65
Set item in both hands while holding an item

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.

Active 6 months ago
Joined Jun 2022
Points:
483

User statistics:

  • Modifications: 0
  • Forum topics: 19
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 96
The only part i could not…
Sat, 05/06/2023 - 23:51

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.

Active 6 months ago
Joined Jun 2022
Points:
483

User statistics:

  • Modifications: 0
  • Forum topics: 19
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 96
This might be a better option
Sun, 05/07/2023 - 00:53

This might be a better option