ChunkGenerator - ChunkData Height (Expression) — SkBee

Addon: SkBee · Category: Expression · Since: 3.5.0

Syntax

chunk[ ]data height

Description

Represents the highest point in a chunk used in a `height gen` section. This is used to tell Minecraft where the highest block is when it needs to generate structures.

Examples

height gen:
	set {_x} to x coord of event-location
	set {_z} to z coord of event-location
	set {_n} to getNoise({_x}, {_z}) # This is just an example of a function you could do to get noise)
	set chunkdata height to {_n} + 1

View source