Skip to content

Instantly share code, notes, and snippets.

@ByteZ1337
ByteZ1337 / heightmaps.md
Last active February 26, 2023 10:40
Minecraft Heightmap Types

Heightmaps

Since I've recently been working on some Minecraft world gen stuff I came across Minecraft's internal height maps. I mainly needed them for a few placement modifiers like the surface_relative_threshold_filter. I couldn't find any documentation on the different heightmap types, so I decided to dig into Minecraft's code and write a small program that can render them. Here's a small overview:

Heightmap Types

Minecraft has 6 different heightmap types:

Keybase proof

I hereby claim:

  • I am bytez1337 on github.
  • I am bytez (https://keybase.io/bytez) on keybase.
  • I have a public key ASBVDMQ07XreawyqOQqiSjhSTMQ18WmtwTt5g6-yfIfnHQo

To claim this, I am signing this object: