Heightmap Type (Data Type)

A String used for various game calculations to determine the highest Y level of a coordinate in a world.

A String used for various game calculations to determine the highest Y level of a coordinate in a world.

Values

ValueDescription
world_surfaceQueries the Y level of the highest non-air block.
world_surface_wgQueries the Y level of the highest non-air block (only used on world generation.)
ocean_floorQueries the Y level of the highest block that has collision, except carpets.
ocean_floor_wgQueries the Y level of the highest block that has collision, except carpets (only used on world generation.)
motion_blockingQueries the Y level of the highest block that has collision or contains a fluid (e.g: water, lava, or fluidlogged blocks.)
motion_blocking_no_leavesQueries the Y level of the highest block that has collision or contains a fluid, except leaves (e.g: water, lava, or fluidlogged blocks.)