Submerged In (Entity Condition Type)

Checks whether the entity's eyes are in a fluid that is included in the specified fluid tag.

Checks whether the entity’s eyes are in a fluid that is included in the specified fluid tag.

Type ID: apoli:submerged_in

Fields

FieldTypeDefaultDescription
fluidIdentifierThe namespace and ID of the fluid tag that should be checked. Most important examples: minecraft:water and minecraft:lava.

Examples

"condition": {
    "type": "apoli:submerged_in",
    "fluid": "minecraft:water"
}

This example will check if the player is submerged in water.