Skip to content

Instantly share code, notes, and snippets.

View harperreed's full-sized avatar
💭
san dimas high school football rules

Harper Reed harperreed

💭
san dimas high school football rules
View GitHub Profile
@harperreed
harperreed / shiftmca.py
Last active November 24, 2020 21:59 — forked from mushroomhostage/gist:3807487
shiftmca.py - shift Minecraft region files (.mca) to combine multiple worlds into one
# shiftmca.py - shift Minecraft region files (.mca) by a fixed number of regions
# Useful to combine multiple worlds into one world, with a region-level granularity
# You can't simply rename the r.#.#.mca files, because they contain embedded location
# information (which will cause "relocating" errors). This script fixes that.
# To use:
# 1. rename each r.<x>.<z>.mca adding 20 (or whatever needed to avoid overlap) to each <x>
# 2. edit the variables below appropriately to match your setup
# 3. run this script