Skip to content

Gain Air

Increases/decreases the entity's air supply.

Type ID: kaya:gain_air

Format

Field Type Default Description
value Int Provider The amount to increase/decrease to/from the entity's air supply.
entity Entity Provider The entity to increase/decrease the air supply of.

Example

{
    "type": "kaya:gain_air",
    "value": 5,
    "entity": "this"
}

This example increases the air supply of the entity provided by the kaya:this_entity context parameter by $5$.

History

Minecraft Mod Changelog
1.21.5 0.1.0 Added the type.