Saturation Level (Entity Condition Type)

Checks the entity's saturation level, which is the invisible value that determines how 'full' the entity is, which then determines how long it takes before the hunger level of the entity will go down.

Checks the entity’s saturation level, which is the invisible value that determines how “full” the entity is, which then determines how long it takes before the hunger level of the entity will go down.

Type ID: apoli:saturation_level

!!! note

This entity condition type will only work on players.

Fields

FieldTypeDefaultDescription
comparisonComparisonDetermines how the saturation level of the player should be compared to the specified value.
compare_toFloatThe value at which the saturation level of the player will be compared to.

Examples

"condition": {
    "type": "apoli:saturation_level",
    "comparison": "==",
    "compare_to": 0
}

This example will check if the player’s saturation level reaches 0.