Im trying to make a thirst thing, but I cant make a stat which tests for a player drinking water. Any ways around this?
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.