Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a command to refill hunger #48

Closed
Amunak opened this issue Oct 13, 2014 · 1 comment
Closed

Add a command to refill hunger #48

Amunak opened this issue Oct 13, 2014 · 1 comment

Comments

@Amunak
Copy link
Contributor

Amunak commented Oct 13, 2014

/uh heal(all) could use a companion: /uh feed(all) [hunger=20] [saturation=20].

Note that

The maximum value of the food saturation level is equal to the current value of your food level.

@AmauryCarrade
Copy link
Member

You can also use /effect [player] SATURATION 100 255 to refill the hunger bar of a player.
(Note that for the saturation, the time is divided by a big number: a ~100-seconds effect leads to a ~3-seconds one (not real numbers, but the idea is here).)

This said, there isn't any @a in Bukkit out of a command block (I don't know why, by the way), so I agree: this, especially feedall, can be useful.

@AmauryCarrade AmauryCarrade modified the milestone: 1.2 – Stable Oct 22, 2014
@AmauryCarrade AmauryCarrade self-assigned this Oct 22, 2014
@AmauryCarrade AmauryCarrade removed their assignment Nov 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants