Skip to content

HeightMap

Namespace Mc.Scripting.Worlds · Kind enum

public enum HeightMap : int

Which surface World.HighestBlockY looks for.

Name Value Description
Surface 0 The highest block that is not air.
OceanFloor 1 The highest block of the sea floor: not air and not water.
MotionBlocking 2 The highest block that stops movement or holds a fluid (what rain and the sun see).
MotionBlockingNoLeaves 3 Like HeightMap.MotionBlocking but leaves do not count.