AbstractStaticgetStaticgetGets the highest solid block Y-coordinate at a given X/Z location. Can optionally include liquid/passable blocks and bypass leaves.
The dimension to check in.
The center location (X/Z).
If true, include liquid blocks in raycast.
If true, include passable blocks like grass.
If true, skips leaf blocks and continues downward.
If false, uses raycast hit location instead of given location.
Start height for raycast (default 320).
Vec3 with the highest block location above the given point.
StaticisDetermines if an entity is underground by raycasting upwards from head height. Returns true if the ray hits a block, indicating overhead coverage. Also skips leaves unless a non-leaf block is above them.
The entity to check.
How far up to check (default 320).
True if the entity is under a solid block.
List of all Minecraft leaf block identifiers, used to bypass during certain raycasts.