How to realize the durability of an item

Started by HPMaf1a on

Topic category: Help with modding (Java Edition)

Last seen on 16:45, 22. Nov 2023
Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to realize the durability of an item

I want to make a watering can with different levels of fullness. I thought I could do it with strength, but I don't know how to do it. I tried to make the watering can a tool, but it behaved like a pickaxe. Help me 

Last seen on 21:38, 22. Apr 2024
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can create a procedure…
Sun, 11/12/2023 - 09:25

You can create a procedure that assigns an NBT tag (a personal value) and increases it when you, for example, right-click on water