Fluid Height - apace100/origins-fabric GitHub Wiki

Entity Condition. Checks how high a specific fluid is at the player. A fluid height of 0 means the player is not touching the fluid.

Type ID: origins:fluid_height

Fields:

fluid, string: ID of the fluid tag of which the height should be checked. Most important examples: minecraft:water and minecraft:lava.

comparison, Comparison: How the fluid height should be compared to the specified value.

compare_to, float: Which value the fluid height should be compared to.