Fluid Height (Entity Condition Type)
Compares how high a fluid reaches on the entity with a number. A fluid height of 0 means the entity isn't touching the fluid.
Type ID: apoli:fluid_height
Fields
| Field | Type | Default | Description |
|---|---|---|---|
fluid | Identifier | required | The ID of the fluid tag to measure, most often minecraft:water or minecraft:lava. The leading # is optional. |
comparison | Comparison | required | How the fluid height is compared with compare_to. |
compare_to | Float | required | The number the fluid height is compared with. |
Examples
"condition": {
"type": "apoli:fluid_height",
"fluid": "minecraft:lava",
"comparison": "==",
"compare_to": 0
}This checks whether the entity isn't touching lava.