const fn global_fluid(
y: i32,
lava_floor: i32,
sea_level: i32,
lava_id: BlockStateId,
default_fluid_id: BlockStateId,
) -> FluidStatusExpand description
Global fluid picker matching vanilla’s NoiseBasedChunkGenerator.createFluidPicker.
Below min(-54, sea_level) → lava at Y=-54. Otherwise → the dimension’s
default fluid at sea level (water for overworld, lava for nether).