Skip to content

Instantly share code, notes, and snippets.

@ByteZ1337
ByteZ1337 / heightmaps.md
Last active November 30, 2025 04:24
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:

@brennanMKE
brennanMKE / IDETemplateMacros.plist
Last active May 26, 2025 02:09
Xcode File Header Templates
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>FILEHEADER</key>
<string>
// Copyright © ___YEAR___ ___ORGANIZATIONNAME___.
// All Rights Reserved.
</string>
<key>ORGANIZATIONNAME</key>