Set item in both hands while holding an item

Started by swelkinn_n on

Topic category: Help with modding (Java Edition)

Last seen on 22:53, 29. Dec 2023
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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.

Last seen on 06:13, 28. Aug 2023
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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.

Last seen on 06:13, 28. Aug 2023
Joined Jun 2022
Points:

User statistics:

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

This might be a better option