Cancel swapping hands

Started by AcousticJamm on

Topic category: Help with modding (Java Edition)

Last seen on 12:18, 30. Jul 2024
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Cancel swapping hands

So I want to stop the player from swapping the items in their hands with the key for "Swap Item With Offhand" under certain conditions (in this case, holding a certain item in offhand). Is this possible?

Last seen on 04:23, 11. Aug 2023
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Maybe like forcing the…
Sat, 02/26/2022 - 23:09

Maybe like forcing the player to hold the item in the offhand and the when the Player swaps it into there inventory you can delete it then place it back into the offhand then what of theres a item in the offhand

For that im gonna make you do that if not ask again and i may respond