How do I give a person a tool automatically when theirs break?

Started by supersammy82 on

Topic category: Help with modding (Java Edition)

Last seen on 22:16, 1. Sep 2021
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I give a person a tool automatically when theirs break?

Read the title. Since the body has to be more than 25 characters, I'm typing more.

Last seen on 23:58, 19. Apr 2021
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
make it to where if theā€¦
Sun, 04/26/2020 - 21:51

make it to where if the player has the tool, remove it from the inventory and add it again. that way it will never break.