DMZ Ultra WorldGen Fix

[Temporary Mod] Fixes DMZ Ultra worldgen & TPS issues on Forge 1.20.1: stops StructureGuard from dropping thousands of ores/XP near DMZ structures and fixes Karakura Town / [bleach.places] infinite chunk-survey lag on Terralith and modded worlds.

DMZ Ultra WorldGen Fix

A lightweight compatibility and bug-fix addon for DMZ Ultra on Minecraft Forge 1.20.1 that resolves severe server-tick freezes and mass item/XP floods near Dragon Mine Z structures in Terralith and modded worlds—without disabling Bleach places or structure protection.


Why This Mod Exists

When running DMZ Ultra (0.5.x) alongside worldgen datapacks such as Terralith or common modded Overworld content (Croptopia, The Great Outdoors, Quark, Create, Powah, Create: New Age, AllTheOres, Mekanism, etc.), two worldgen conflicts can occur:

  1. Mass Dropped Ores, Rocks & XP Orbs Near DMZ Structures (StructureGuard): StructureGuard snapshots the full bounding box of Dragon Mine Z structures (such as Babidi's Ship, Goku's House, Buu's House, Cell Arena, and RR Towers) before post-structure feature decoration runs. When ores, diorite, granite, andesite, gravel, caves, sculk, or Ancient Cities generate over that raw stone/deepslate, StructureGuard treats them as structural damage, calls Block.dropResources at 64 blocks/tick, and overwrites them back to solid stone—ejecting thousands of ores, rocks, and XP orbs onto the surface and tanking server TPS.
  2. Infinite [bleach.places] Chunk-Survey Loop (PlaceGround): Karakura Town and Fake Karakura check candidate sites against a strict vanilla whitelist. Natural Terralith blocks (persistent=true tree leaves, multi-layer snow, waterlogged dripleaves/seagrass, blackstone, terracotta, basalt, calcite, dripstone, cobblestone, slanted branches/fallen logs) and modded wild flora/ores (croptopia:*, the_great_outdoors:*, quark:hollow_*_log, dragonminez:rocky_*, create:ochrum, untagged modded ores, powah:dry_ice) are mistakenly treated as player-built structures. This causes [BlPlaces] to refuse dozens of spots in a row every 10 seconds, forcing chunk loads on the Server thread and causing multi-second Can't keep up! delays without dropping client FPS.

DMZ Ultra WorldGen Fix patches both systems cleanly via non-invasive Mixins without modifying dmzultra or requiring any extra worldgen mods.


Features

  • Terralith & Modded Flora/Terrain Support for [bleach.places]: Expands PlaceGround so Karakura Town, Fake Karakura, and other Bleach places locate valid wild terrain quickly instead of stalling the Server thread.
    • Recognizes Terralith persistent=true leaves, wide/slanted tree branches, fallen logs, multi-layer snow, waterlogged aquatic plants (seagrass, kelp, small_dripleaf, mangrove roots), and Terralith natural surface stones/terracotta.
    • Recognizes modded wild crops (while still protecting player farms via farmland underneath), wildflowers, hollow logs, Dragon Mine Z rocky stone, Create/Quark natural stones, powah:dry_ice, and both tagged and untagged modded ores.
    • Player Builds Stay Protected: Player houses, farms (farmland), villages (dirt_path, slabs, stairs, planks, bricks), DMZ structures, and DMZ Sparking cities (concrete) continue to be refused as built ground.
  • Stops StructureGuard Ore/Block/XP Floods (New & Existing Worlds):
    • Treats post-structure worldgen features (ores, granite, diorite, andesite, gravel, dirt, caves, sculk, Ancient Cities) replacing recorded raw stone/deepslate as unchanged—works immediately on existing saves too.
    • Skips snapshotting raw underground filler blocks (stone, deepslate, bedrock, gravel, granite, diorite, andesite, tuff, calcite, dripstone_block) in new chunks, cutting StructureGuard memory, save size, and scan overhead while keeping real structure blocks kiProof and repairable.
    • Prevents StructureGuard.restore() from calling Block.dropResources on blocks that were not placed by a player, eliminating phantom item and XP orb drops.
  • Zero Extra Mod Dependencies: All cross-mod block checks use pure ResourceLocation string/tag matching—safe to include in both heavy and Lite modpacks.

Cleaning Up an Existing Affected World

Installing this mod immediately prevents new items from dropping and allows [bleach.places] to succeed. If an older world already had thousands of items dropped near a DMZ structure, run these commands once in-game:

/kill @e[type=minecraft:item]
/kill @e[type=minecraft:experience_orb]
/dmzultra bleach places retry

Configuration

A config file is generated automatically on first launch at:

config/dmz_ultra_worldgen_fix-common.toml

Every patch can be toggled independently:

  • [BleachPlacesFix]
    • fixPlaceGroundWorldgenCompatibility (default: true)
    • acceptPersistentLeaves (default: true)
    • acceptModdedWildFlora (default: true)
    • acceptTerralithAndModdedGround (default: true)
    • expandNaturalTreeDetection (default: true)
  • [StructureGuardFix]
    • ignoreWorldgenReplacementsOfNaturalTerrain (default: true)
    • skipRecordingRawUndergroundFiller (default: true)
    • preventNonPlayerDropsOnRestore (default: true)

Requirements

  • Minecraft: 1.20.1
  • Forge: 47+
  • DMZ Ultra: 0.5+ (tested on 0.5.7)

No other mods are required.


Modpacks & Servers

Install on both client and server (required on the server/singleplayer host for worldgen and StructureGuard fixes). Free to include in modpacks.

DMZ Ultra WorldGen Fix Team

profile avatar
  • 5
    Projects
  • 1.0K
    Downloads

More from FPGAMESBRView all

  • Dragon Mine Z - Lite Definitive Edition project image

    Dragon Mine Z - Lite Definitive Edition

    High-FPS Dragon Ball & Bleach anime action-RPG modpack optimized for 6-8 GB RAM! Master iconic transformations, 1:1 Ki-as-Mana magic (Iron's Spells), 10 Quest chapters, and scaled Apothic DMZ & Cataclysm bosses without heavy tech bloat.

    • 145
    • November 21, 2026
  • Dragon Mine Z - Definitive Edition project image

    Dragon Mine Z - Definitive Edition

    The ultimate Dragon Ball & Bleach anime action-RPG modpack! Master iconic transformations, 1:1 Ki-as-Mana magic (Iron's Spells), 22 FTB Quest chapters, scaled Apothic DMZ bosses, space travel, and full tech automation (Create, Mekanism, AE2).

    • 420
    • November 21, 2026
  • DMZ Apothic & Vanilla Scaling project image

    DMZ Apothic & Vanilla Scaling

    Restricts Apotheosis Overworld/Nether/End bosses to Dragon Mine Z enemies (adding 10 extra DMZ Overworld invaders) and scales vanilla mobs, mini-bosses, Ender Dragon, and Wither using your DMZ BASE power.

    • 74
    • November 20, 2026
  • DMZ Spellbooks Regen Fix project image

    DMZ Spellbooks Regen Fix

    Fixes Dragon Mine Z Ki charging slowdowns caused by Iron's Spells Max Mana scaling, lets Mana Regen bonuses boost Ki, and prevents respawn Ki wipes.

    • 313
    • November 19, 2026
  • Dragon Mine Z - Lite Definitive Edition project image

    Dragon Mine Z - Lite Definitive Edition

    High-FPS Dragon Ball & Bleach anime action-RPG modpack optimized for 6-8 GB RAM! Master iconic transformations, 1:1 Ki-as-Mana magic (Iron's Spells), 10 Quest chapters, and scaled Apothic DMZ & Cataclysm bosses without heavy tech bloat.

    • 145
    • November 21, 2026
  • Dragon Mine Z - Definitive Edition project image

    Dragon Mine Z - Definitive Edition

    The ultimate Dragon Ball & Bleach anime action-RPG modpack! Master iconic transformations, 1:1 Ki-as-Mana magic (Iron's Spells), 22 FTB Quest chapters, scaled Apothic DMZ bosses, space travel, and full tech automation (Create, Mekanism, AE2).

    • 420
    • November 21, 2026
  • DMZ Apothic & Vanilla Scaling project image

    DMZ Apothic & Vanilla Scaling

    Restricts Apotheosis Overworld/Nether/End bosses to Dragon Mine Z enemies (adding 10 extra DMZ Overworld invaders) and scales vanilla mobs, mini-bosses, Ender Dragon, and Wither using your DMZ BASE power.

    • 74
    • November 20, 2026
  • DMZ Spellbooks Regen Fix project image

    DMZ Spellbooks Regen Fix

    Fixes Dragon Mine Z Ki charging slowdowns caused by Iron's Spells Max Mana scaling, lets Mana Regen bonuses boost Ki, and prevents respawn Ki wipes.

    • 313
    • November 19, 2026