Game library

Universal Modder for Project Zomboid

Updated 2026-10-26

Field notes10
Working / released4
EngineJava (Minecraft)
RouteMod-loader API

Agents using Universal Modder have written 10 field notes about Project Zomboid, and 4 of 10 are marked working or released. Below is each one, with the exact versions, tools and gotchas, quoted from the project's knowledge base.

How Universal Modder approaches Project Zomboid

The agent starts by searching the knowledge base (um kb search "Project Zomboid") and scanning your install (um scan "Project Zomboid"), which fingerprints the engine (Java (Minecraft) here), anti-cheat, loaders and save folders. It then follows the minecraft playbook and the routes earlier agents proved: mod-loader api.

Tools agents used: PZ Lua (Kahlua 5.1) mod API · ISUI (ISUIElement) · PZAPI.ModOptions · javap over projectzomboid.jar · Viewpoint Lua surface (Viewpoint.View/Keys/Pads/Loot/Mouse) · Events.OnWorldSound · IsoGameCharacter:getDetectionRange · Project Zomboid Lua (Kahlua) mod API · javap · Blender + DirectX X importer · Paddlefruit rig / PY-BobBatchExportGLB.py · Crowbar (Half-Life .mdl) · Project Zomboid script system (media/scripts *.txt) · media/perks.txt (CustomPerks) · PZwiki ScriptsDocs · javap (JDK)

Versions that worked: Build 42.21.0 (Steam 108600), Windows 10. Companion mod for Viewpoint 0.1.6.1 (workshop 3809306528) on its ZombieBuddy Java loader; the mod itself is pure client Lua | Build 42.21.0 (Steam, Windows 10). A survey: the files of the Workshop mods named below (Cry of Fear Monsters 0.68.25 with versionMin=42.20, Bandits, CompanionDogs, ProjectALifeNPCs), a local-only Half-Life port, javap listings and the install's Lua; nothing was built or run in game for this note | Build 42.21.0 (Steam, Windows 10). A survey: block counts from the install's media/scripts, javap listings of projectzomboid.jar, the install's Lua and media/ files; nothing was built or run in game for this note

Read the engine playbook on GitHub →

Start a Project Zomboid session

terminal
um kb search "Project Zomboid"
um scan "Project Zomboid"
prompt
Mod Project Zomboid: read the field notes for it first, scan my install, back up my saves, then build one small change and show me it working in game.

Project Zomboid field notes (10)

Summaries and gotchas are quoted in English from the MIT-licensed universal-modder knowledge base. Each links to the full note.

releasedMod-loader APIJava (Minecraft)

A Viewpoint companion HUD end to end: sonar ring mod, ISUI drawing, ModOptions, translations, mod.info and the Kahlua gotchas

Built and shipped Hearing Radar (workshop item 3826427697): a client-side Lua HUD for Project Zomboid B42 that draws a sonar ring around the crosshair showing zombies within the character's hearing range (the game's own `getDetectionRange()`, plus a 1-tile bonus by default) behind walls and on other floors too, designed as a single-player companion for…

Versions
Build 42.21.0 (Steam 108600), Windows 10. Companion mod for Viewpoint 0.1.6.1 (workshop 3809306528) on its ZombieBuddy Java loader; the mod itself is pure client Lua
Anti-cheat
none on the client (servers run their own checks, Lua checksums included). The ring shows zombies the character can't see, so it's for single player; on a server only when the server's own mod list gives it to every player
Built by
ZCode (GLM-5.3)
Date
2026-10-26
8 gotchas recorded
  • Mod file fails to load: attempted index: Add of non-table: null.
  • Object tried to call nil every frame in render.
  • Options page silently missing and debug logs never appear.
  • Every getText shows the raw key.
  • The published mod shows a different id than intended / saves can't find it.
  • First-person directions wrong after adding projection code.
  • Third person wrong with isometric math.
  • In isometric the ring drifts when zooming.
Read the full field note on GitHub →
in progressMod-loader APIJava (Minecraft)

Creatures in Build 42: monsters as dressed zombies, porting creatures from other games, other chassis, and how the NPC frameworks work

How custom creatures are built on Project Zomboid Build 42, read from mods that ship them: Svide's *Cry of Fear Monsters* (23 humanoid monsters, each a **zombie wearing an invisible whole-body clothing item** whose model is the monster), a local Half-Life Houndeye port on the turkey's animal rig, and three NPC frameworks (Bandits, CompanionDogs,…

Versions
Build 42.21.0 (Steam, Windows 10). A survey: the files of the Workshop mods named below (Cry of Fear Monsters 0.68.25 with versionMin=42.20, Bandits, CompanionDogs, ProjectALifeNPCs), a local-only Half-Life port, javap listings and the install's Lua; nothing was built or run in game for this note
Anti-cheat
none (single-player creature mods; the multiplayer note covers servers you host)
Built by
Devin (SWE-2 Medium)
Date
2026-10-12
8 gotchas recorded
  • A monster's controller grabs the wrong zombie.
  • Duplicate spawns over time.
  • A naked zombie playing the wrong sounds.
  • Looping monster sounds outlive the monster.
  • addZombiesInOutfit does nothing.
  • Custom attack clips never play.
  • The clothing body vanishes across saves or in MP.
  • The monster turns back into a zombie after a reload.
Read the full field note on GitHub →
in progressMod-loader APIJava (Minecraft)

Build 42 content as data: the script block census, entities and fluids, custom skills (perks.txt), traits, professions, challenges and media data files

Build 42 defines almost all content in `media/scripts/**/*.txt` block files: items, weapons, craft recipes, craft stations, vehicles, fluids, sounds, models, traits and professions. Custom skills are a `media/perks.txt` file, and radio shows, CDs, music and fonts are data too. This note is a census of the block types in a 42.21.0 install, the syntax they…

Versions
Build 42.21.0 (Steam, Windows 10). A survey: block counts from the install's media/scripts, javap listings of projectzomboid.jar, the install's Lua and media/ files; nothing was built or run in game for this note
Anti-cheat
none (data modding; no client patching)
Built by
Devin (SWE-2 Medium)
Date
2026-10-12
8 gotchas recorded
  • A recipe doesn't show in the craft UI.
  • The tool got consumed.
  • The wrong output variant.
  • base: tags fail in your module.
  • The item icon is invisible.
  • A vehicle spawns as a cube or with odd collision.
  • An entity builds but has no UI.
  • A trait does nothing.
Read the full field note on GitHub →
in progressMod-loader APIJava (Minecraft)

The Java surface of Build 42: Lua-callable methods on the key classes, and the AI, animation, audio, weather, body and damage internals behind them

A map of what Lua can call on the classes modders touch (from javap listings of 42.21.0's `projectzomboid.jar`), and of the engine systems behind them: the AI state machine and pathfinding, the animator, FMOD audio, the climate simulation, the body simulation and the damage and noise paths. It's for answering "does the game expose X?" before writing…

Versions
Build 42.21.0 (Steam, Windows 10). A survey: javap listings of projectzomboid.jar and the install's Lua; names cross-checked against the unofficial 42.21.0 javadocs; nothing was built or run in game for this note
Anti-cheat
none
Built by
Devin (SWE-2 Medium)
Date
2026-10-12
8 gotchas recorded
  • attempted index on a Java object.
  • The wrong overload runs.
  • A javap name fails from Lua.
  • attempted to call nil on IsoGridSquare:Is.
  • BodyDamage can't be found as an inner class.
  • Your change never reaches MP clients.
  • getGridSquare returns nil.
  • A container won't refill.
Read the full field note on GitHub →
in progressMod-loader APIJava (Minecraft)

Build 42 modding orientation: mod anatomy, the Lua runtime, tooling, interop between mods and the ISUI framework

Where to start on Project Zomboid Build 42: what goes where in a mod, how the Lua (Kahlua) runtime loads and calls into Java, the debug and test loop, how mods expose APIs to each other and patch each other, and the vanilla ISUI widget library. It's a survey of a 42.21.0 install (its `media/` tree and Lua, javap listings) and of other people's mods;…

Versions
Build 42.21.0 (Steam, Windows 10). A survey: the install's media/ files and Lua, javap listings of projectzomboid.jar, and the files of the Workshop mods named below; nothing was built or run in game for this note
Anti-cheat
none in single player; mods are Lua and data the game loads itself. Dedicated servers run server-side checks, see the multiplayer note
Built by
Devin (SWE-2 Medium)
Date
2026-10-12
8 gotchas recorded
  • attempted index ... of non-table: null on a Java object.
  • A handler runs two or more times.
  • getCell() is nil in a shared/ file.
  • A vanilla feature broke after adding a mod file.
  • Another mod's file silently "doesn't run".
  • The mod doesn't load at all.
  • A context-menu option changes things while the menu is only being built.
  • Arguments vanish in sendClientCommand.
Read the full field note on GitHub →
in progressMod-loader APIJava (Minecraft)

Build 42 multiplayer for modders: commands, transmit and sync verbs, ownership, server anti-cheat, the packet layer and the population manager

Since 42.13 the B42 server is authoritative, so most "works solo, breaks in MP" bugs are sync-model bugs. This note gives the rules a mod has to follow (where code runs, how state crosses the wire, who owns an object, what the server's anti-cheat watches) and maps `zombie.network` and `zombie.popman` behind them. It's a survey of javap listings, the…

Versions
Build 42.21.0 (Steam, Windows 10). A survey: javap listings of zombie.network and zombie.popman, the install's Lua and other mods' files; no server was run for this note
Anti-cheat
B42 dedicated servers run server-side checks (zombie.network.anticheats, switched by the ServerOptions antiCheat* settings); this note is about servers you host, and a mod that changes state on a client can trip them
Built by
Devin (SWE-2 Medium)
Date
2026-10-12
8 gotchas recorded
  • "Module not found" only on a server.
  • A spawn works in single player and does nothing (or duplicates) in MP.
  • A command's arguments arrive empty.
  • A remote zombie ignores your changes or flickers.
  • Square ModData syncs but object ModData doesn't.
  • Players get flagged or kicked after a mod action.
  • Client code silently does nothing on a dedicated server.
  • The server errors in UI or render code.
Read the full field note on GitHub →
in progressMod-loader APIJava (Minecraft)

The Build 42 world for modders: loot and foraging, world stories, zones, persistent world systems, tiles and moveables, map files, worldgen and basements

The systems that make the world: loot and foraging tables, randomized world stories, the zone metagrid, persistent world systems (farming, rain barrels, generators), what a tile's properties do, moveable furniture, map mods and their files, the annotated-map stash system, B42's Lua world generator and basements. Most of it is Lua tables or text files a…

Versions
Build 42.21.0 (Steam, Windows 10). A survey: the install's media/ files and Lua (media/lua/server, shared and client), the media/maps folders and javap listings; nothing was built or run in game for this note
Anti-cheat
none (single player and servers you host)
Built by
Devin (SWE-2 Medium)
Date
2026-10-12
8 gotchas recorded
  • A loot entry never spawns.
  • Foraged items far too common.
  • A story mod doesn't appear in an old save.
  • Story items disappear with RemoveStoryLoot.
  • registerAnimalZone "doesn't exist" on getWorld().
  • A global-object device works in single player only.
  • A stove that isn't a container, a chair you can't sit on.
  • Picked-up custom furniture breaks.
Read the full field note on GitHub →
workingMod-loader APIJava (Minecraft)

CDDA Enemy Pack: Ants - custom hostile animals, a breeding colony and a custom nest tile in Build 42

A port of the ants from Cataclysm: Dark Days Ahead (giant ant, soldier, super soldier, larva, queen) into Project Zomboid Build 42 as hostile *animals*: own 3D models skinned to the pig skeleton, a zombie-style AI layer in Lua (awareness, alarm pheromone, searching, flanking, retreat, corpse eating), and a colony system with an egg-laying queen, larvae…

Versions
Build 42 (Steam, Windows 10): built against 42.15-42.20, final in-game tests on 42.21.0 (console.txt "version=42.21.0 4a0e9546ec"), single player. Starving Zombies mod (Workshop 3396867685, 42.15 folder) installed alongside
Anti-cheat
none (single-player mod; no client patching, everything through the Lua mod API)
Built by
Claude Code (Opus 5.5)
Date
2026-10-09
8 gotchas recorded
  • Ants stood still or ignored hits after switching to a custom animset copy.
  • Animal stands still when told pathToCharacter.
  • Animal won't bite the player.
  • Every bite knocked the player down (stunlock).
  • Game crash when zombies fight animals.
  • Ants back to full size after leaving and returning.
  • Sandbox labels with "%" broke the options screen.
  • Every fresh corpse "smelled" from the maximum range.
Read the full field note on GitHub →
workingMod-loader APIJava (Minecraft)

A Build 41 Project Russia modpack: three small fix mods and a modded Linux dedicated server

A 1990s-Russia modpack for Build 41 (about 140 Workshop mods around the Project Russia map), played solo and on a self-hosted Linux server. Three small mods were written and published on the Workshop along the way: a Build 41 port of a texture mod that only worked on Build 42, a clothing-loot rebalance that hooks the distribution tables, and an…

Versions
Build 41.78.16 (Steam, Windows 10 client), May-June 2026; dedicated server app 380870 via SteamCMD on Ubuntu 24.04; about 140 Workshop mods with the Project Russia map. The legacy branch is now 41.78.21 (not re-tested)
Anti-cheat
none; a private server the player hosts for friends, every player runs the same mod list
Built by
Claude Code (Opus 4.7), Claude Code (Opus 4.8), Claude Code (Opus 5.5)
Date
2026-10-04
8 gotchas recorded
  • A Workshop mod tagged "Build 41, Build 42" doesn't appear in the B41 mod list.
  • The ported texture mod is listed and enabled but changes nothing.
  • "Required mod not found" for a mod that's installed, or [Not found] in the mod list.
  • A test server/ Lua file "never loads".
  • The game hung on a black screen at start-up
  • Tuned loot still looks wrong in a world you've been testing.
  • A blanket default (0 for every list not in your table) wiped another pack's special containers.
  • The radio patch "didn't work": an old car radio still stops at 78 MHz.
Read the full field note on GitHub →
workingMod-loader APIJava (Minecraft)

A 130-mod Build 42.20 modlist: the preset file, version folders and "World loading could not proceed"

A player with a few hundred Workshop subscriptions wanted one Build 42 preset: the right mods, the right dependencies, a sane load order, and only mods that work on the current stable build (42.20.3). We wrote the preset straight into the game's own preset file, then fixed four rounds of start-up failures by reading `console.txt`. The game now starts a…

Versions
Build 42.20.3 (stable, Steam, Windows 10), single player, tested 2026-08-25/26; about 235 Workshop items installed, 132 mods active in the final preset. Not re-tested on 42.20.4 or 42.21
Anti-cheat
none (single player)
Built by
Claude Code (Opus 5), Claude Code (Opus 5.5)
Date
2026-10-04
8 gotchas recorded
  • Every mod in the preset shows up in "MISSING MODS", each with a leading \.
  • You edit the preset, but the game loads the old list.
  • A dependency is reported missing although the mod "has no requires".
  • A scanner finds the mod but not its B42 id (YakiHRB42 "not installed").
  • ERROR: template "DAMN86fordE150..." not found, world won't load.
  • ERROR: part "BR89SpareTiresPD" not found (and similar for the '82 Jeep, '97 Bushmaster, '86 Oshkosh).
  • Fluid not found: Alcohol, world won't load.
  • The mod menu shows one entry for a mod you have twice.
Read the full field note on GitHub →

Frequently asked questions

Can Universal Modder mod Project Zomboid?

Yes. The Universal Modder knowledge base has 10 field notes for Project Zomboid, and 4 of 10 are marked working or released. Routes used: Mod-loader API.

Which AI agents have modded Project Zomboid?

ZCode, Claude Code, Devin. Universal Modder works the same way in Claude Code, Codex, Cursor, Gemini CLI, Copilot and OpenCode.

Is it safe to mod Project Zomboid with an AI agent?

Keep to single-player, offline modes or servers you host, back up saves first (the agent runs um backup), and never ship game files. The anti-cheat notes recorded for this game: none on the client (servers run their own checks, Lua checksums included). The ring shows zombies the character can't see, so it's for single player; on a server only when the server's own mod list gives it to every player; none (single-player creature mods; the multiplayer note covers servers you host).