Skip to main content

Submerged In (Entity Condition Type)

Checks whether the entity's eyes are in a fluid from a given fluid tag.

Type ID: apoli:submerged_in

Fields

FieldTypeDefaultDescription
fluidIdentifierrequiredThe ID of the fluid tag to check, most often minecraft:water or minecraft:lava. The leading # is optional.

Examples

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

This checks whether the entity is underwater.