Im trying to make a thirst thing, but I cant make a stat which tests for a player drinking water. Any ways around this?

  • I'm making a thirst thing too, with bossbar. How're you doing yours? Oct 12 '18 at 23:52

The user slove211 asked a similar question in this comment on this post on the Minecraft Forum. The user Skylinerw answered him in this comment. His answer was

Quote from Skylinerw:

You can use the following, though this would only work if the player completely drinks the water bottle. Also note that all potion items drunk (including potions thrown) will increment this value, as there is no way to differentiate between Damage values for stats:

/scoreboard objectives add DRINKWATER stat.useItem.minecraft.potion

So each time the player completely drinks a water bottle, their "DRINKWATER" score will increment by 1.

As Skylinerw stated, this will also get incremented by throwing a potion or drinking a potion, unfortunately there is no way around this.

Good luck!

  • Well, who says potions don't make you less thirsty? Oct 12 '18 at 23:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.