Module fluid_state

Source

Structs§

FluidState

Enums§

FluidKind

Functions§

to_or_from_legacy_fluid_level
Sometimes Minecraft represents fluids with 0 being empty and 8 being full, and sometimes it’s the opposite. You can use this function to convert in between those two representations.