Single module modding
This commit is contained in:
@@ -63,7 +63,7 @@ Hunger and health work like Minecraft's:
|
||||
- A full stomach heals: quickly while there's saturation, slowly with at least 18 hunger.
|
||||
- At 0 hunger, players lose health every 4 seconds, down to half a heart.
|
||||
|
||||
Server scripts can feed players directly, and read and change their hunger. See [Players](../entities/players.md).
|
||||
The server phase can feed players directly, and read and change their hunger. See [Players](../entities/players.md).
|
||||
|
||||
```ts
|
||||
player.feed(4, 0.3); // like eating 4 nutrition with a 0.3 modifier
|
||||
|
||||
Reference in New Issue
Block a user