The Lost Cities - DevTool
If you have ever tried to build a custom city pack for The Lost Cities, you already know the pain: one small mistake in a single JSON file can produce a wall of errors that never tells you which building broke. The Lost Cities - DevTool is an unofficial companion mod built to fix exactly that problem. It adds no blocks, items, mobs, or structures to your world, and it does not touch world generation unless you deliberately switch on one of its optional fixes.
Think of it as a workshop, a linter, and a debugger for Lost Cities packs, all rolled into one mod. Whether you are writing your first building or maintaining a sprawling city pack, it saves you hours of guesswork.
What The Lost Cities - DevTool Actually Does
A custom city is a collection of many small files, and Lost Cities usually reports problems in a way that never names the file at fault. This mod changes that. Its core features include:
- Building an entire pack out of what you construct in game, then exporting it as a ready-to-use datapack.
- Importing a pack you already have into a walkable workshop dimension so you can edit it directly.
- Naming the exact building that caused a generation error, along with its chunk and levels.
- Checking your files as they load and reporting the file name and line number.
- Allowing comments and trailing commas in your JSON, with support for .json5 files.
- Showing which building, part, and floor the generator picked for a chunk.
- Looking up palette characters and blocks in both directions.
- Carrying a pack's licence along with the pack, so credit is never lost in a rebuild.
Building a Pack by Building It
The workshop is a dimension laid out as a catalogue, with a plot for every shape a pack can hold: streets, highways, railways, monorails, parks, fountains, bridges, stairs, fronts, rail dungeons, buildings, and every multibuilding footprint up to the default 10x10 placement area. Each plot sits on chunk boundaries and is floor marked in its own colour.
Use /lcdev workshop build to lay the catalogue out, /lcdev workshop go to travel there, and /lcdev workshop leave to return. Build in the plots with whatever tools you normally use, then run /lcdev export mypack to write a complete datapack and its matching profile. A pack made this way once generated a city containing 6,112 gold blocks.
Opening a Pack You Already Have
Point the mod at any loaded pack with /lcdev import lostcities:standard and it pastes that pack into the workshop, so you can walk around it and edit it. The default Lost Cities pack arrives as 49 assets on 49 plots, totalling 782,080 blocks. Palette tags are carried both ways, so command blocks keep their commands, chests keep their loot tables, and spawners keep their mobs. Imported command blocks arrive unable to fire, because forty spawn commands going off while you inspect a building is not useful.
If you would rather skip manual file juggling entirely, the foxygame.net launcher offers a one-click install for The Lost Cities - DevTool, pulling the correct build for your game version straight into your modpack without hunting through file lists.
Finding Out What Actually Went Wrong
One broken building makes Lost Cities produce errors from every chunk that queried it, and none of them name the culprit. The mod says it directly, for example: a floor was generated for a building where no part condition matches, naming the building, the chunk, and the levels involved. On a test pack with three broken buildings, 78 similar-looking failures became three named ones.
Your files are also checked as they load. The checker catches floor ranges that leave a level with nothing to build, conditions that can never match, invalid block names, weighted lists that do not add up, layers of the wrong size, and palette entries that look like IDs but name something else. It never blocks anything; it tells you what is wrong and lets the pack run.
Supported Versions and Loaders
Because the mod rewrites another mod's methods, it is tied to the shape of those methods, which is why there are several files. The Lost Cities - DevTool for Minecraft supports:
- Minecraft 1.21 and 1.21.1 on NeoForge 21.0 and 21.1, paired with Lost Cities 8.0.0 to 8.4.6.
- Minecraft 1.21.11 on NeoForge 21.11, paired with Lost Cities 9.4.0 to 9.5.6.
- Minecraft 1.20.1 on Forge 47 and above, paired with Lost Cities 7.5.1 to 7.5.6 or the older 7.4.12 file.
The Lost Cities has no NeoForge release for Minecraft 1.21.2 to 1.21.10, so neither does this companion. Only the 7.4.12 file has stopped receiving updates, and it lacks two fixes for data loss introduced in 3.0.0.
How to Install
Installing is straightforward. First, confirm that The Lost Cities itself is installed, since it is required. Then download The Lost Cities - DevTool from your preferred source, choosing the file that matches both your game version and your Lost Cities version. Drop the jar into your mods folder alongside The Lost Cities and launch the game. Everything that matters runs on the server, so a client install is optional; a client without the mod can still join a server that has it. In single player, one install covers both sides.
Optional Fixes and Final Thoughts
Two optional fixes correct bugs inside Lost Cities itself, both off by default because enabling one changes what a seed generates. Three more are on by default and only touch the Lost Cities menus, so they cannot alter a world. Sphere worlds also no longer crash on a broken file: in one measured test, 21 crashes became none, with all 338 errors logged instead.
Released under the permissive 0BSD licence and created as an unofficial companion to McJty's mod, The Lost Cities - DevTool is the difference between guessing why your city failed and knowing exactly where to fix it. If you build packs, it belongs in your mods folder.