How do i check if the player has drunk the minecraft water bottle?`

Started by RealACKtbt on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do i check if the player has drunk the minecraft water bottle?`

Hello. I am trying to make a thirst system for my mod and the last thing i need is to check if the player has used a water bottle. I have the code and it runs well with other items like bread, etc, but i cannot make it specific to water bottles as the 'water bottle' is a Item.POTION, where each other potion is the same. I have read a thread on this but it wasn't explained well enough for me to understand it, and the link had expired. Thanks for the help.

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I've been searching for…
Wed, 01/28/2026 - 05:01

I've been searching for litteral days. Several threads have this problem and resolve without an answer...
Would anyone care to tell how to detect water bottles?   Even uncraftable potions don't work (and yes, I've tried with /give to check)
Thanks to anyone who can help.