Skip to content

Entity Fluid Height

Provides the height of the specified fluid relative to an entity.

Type ID: kaya:entity/fluid_height

Format

Field Type Default Description
fluid_tag Fluid Tag The tag of the fluid.
entity Entity Provider The entity to get the height of the fluid from.

Example

{
    "type": "kaya:entity/fluid_height",
    "fluid_tag": "#minecraft:water",
    "entity": "this"
}

This example will provide the height of the water fluid relative to the entity provided by the kaya:this_entity context parameter.

History

Minecraft Mod Changelog
1.21.5 0.1.0 Added the type.