1

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

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

1 Answer 1

2

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!

1
  • Well, who says potions don't make you less thirsty?
    – rydwolf
    Commented Oct 12, 2018 at 23:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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