Apollo
Developers
Modules
Saturation

Saturation Module

Overview

The saturation module allows you to interact with and set custom saturation and hunger values for the Saturation mod on Lunar Client.

  • Ability to interact with the saturation mod of a player.
    • Ability to set custom hunger on an item.
    • Ability to set custom saturation on an item.

This module only changes the displayed values, you'll need to change the actual hunger and saturation levels server-side.

Saturation Module Example

Set custom saturation and hunger display values for items!

Integration

How to set custom hunger level of an item

You set a custom NBT, with the tag lunar{hunger:{value}} then set the {value} to the value of the hunger level you want to display on the item. The value should be an integer.

How to set custom saturation level of an item

You set a custom NBT, with the tag lunar{saturation:{value}} then set the {value} to the value of the saturation level you want to display on the item. The value should be a float.