ChunkGenerator - Highest Block Y (Expression) — SkBee

Addon: SkBee · Category: Expression · Since: 3.5.3

Syntax

chunk[ ]data highest [block] y at %vector% [for [heightmap] %-heightmap%]

Description

Get the highest block y at a position in a chunk in a `block pop` or `surface gen` section. You can optionally choose which HeightMap to use (Defaults to `ocean_floor_wg`).

Examples

set {_y} to chunkdata highest y at vector(1,0,1)
set {_y} to chunkdata highest y at 1, 1 for heightmap world_surface_wg

View source