All Mods Resource Packs Data Packs Shaders Modpacks Plugins
No Structure Overlap

No Structure Overlap

by Garakrral • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

Banner

Discord

Website

Curseforge

Modirnth

About

No Structure Overlap is a lightweight performance mod that fixes structure collision chaos when playing with multiple structure mods or datapacks. Without this mod, custom dungeons, castles, and vanilla structures often generate directly inside one another, cutting off rooms, clipping terrain, and destroying loot chests.

The mod dynamically checks structure bounds during world generation and cancels placement if two different structures try to spawn on top of each other. It includes smart filtering for multi-part structures like villages, mineshafts, and jigsaw-based mod structures, allowing them to expand normally without getting chopped up. All collision checks are handled instantly in memory, ensuring zero TPS drops or server lag.

Dvider

Notes

Built with Architectury, this mod supports both Fabric and NeoForge natively for Minecraft 1.21.1+ and Java 21+. It requires no complex configuration and works out of the box with any structure mod or datapack.

You are completely free to include this mod in any public or private modpack. If you run into any issues or notice an edge-case structure collision, please report it via the issue tracker link above.

How to Install No Structure Overlap (Mod)

No Structure Overlap by Garakrral is verified for Fabric, Forge, Neoforge, Quilt across Minecraft versions 1.20.1, 1.21.1, 26.2 (latest release: 1.0.1, file size: 32 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.20.1, 1.21.1, 26.2) and platform (Fabric, Forge, Neoforge, Quilt).
  2. Make sure you have the compatible loader or environment installed for Fabric, Forge, Neoforge, Quilt.
  3. Move the downloaded No Structure Overlap file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.2
Neoforge
3mo ago 1
26.2
Fabric Quilt
3mo ago 1
1.21.1
Neoforge
3mo ago 1
1.21.1
Fabric Quilt
3mo ago 1
1.20.1
Forge
3mo ago 1
1.21.1
Neoforge
3mo ago 1
1.21.1
Fabric
3mo ago 1
# No Structure Overlap v1.0.1 For NeoForge


## What's New?

This release adds a simple, robust system that prevents structures from being placed on top of each other during world generation. Instead of attempting to detect overlaps after a structure has already started building, the mod now performs a fast, conservative check before generation begins and blocks placements that would conflict. The everyday effect is fewer half-generated or intersecting structures, fewer wasted generation attempts, and better stability across different Forge and NeoForge mapping setups. The check is intentionally conservative: it uses the chunk center X/Z and an approximate Y instead of relying on mapping-sensitive bounding box APIs. That choice trades absolute precision for reliability and cross-mapping compatibility. In normal play you should only notice that overlapping structures no longer appear; for pack authors and server operators it means cleaner worldgen and fewer strange structure artifacts.

StructureOverlapChecker is now deprecated and is no longer used at runtime. If you are still calling or importing StructureOverlapChecker, migrate to the new EarlyStructureOverlapChecker. Migration notes are included below.


## For developers

<div class="spoiler">The mixin now inspects structure generation earlier and registers placements only when a structure actually finishes placement. The new flow is: run a quick overlap test at the start of the target generate method; if the test reports a conflict, return an invalid start to block placement; if generation completes successfully, record the placement so future checks see it. This guarantees the registry contains only successfully placed structures instead of attempted or partial placements. The mixin performs a safe registry lookup for the structure identifier and falls back to a predictable string when the registry lookup fails. This helps avoid NoSuchMethod or mapping-specific failures across different mappings or NeoForge wrapper versions. The approximate vertical level used when recording is levelHeightAccessor.getMinBuildHeight() + 64 by default; that can be adjusted later if you want a different baseline. The old bounding-box approach was removed in favor of storing a small, thread-safe set of recorded centers. Each recorded entry contains the center X, center Y (approximate), center Z, and the structure id. The overlap test is a fast radius check using a horizontal radius and a vertical tolerance. This approach avoids fragile reflection or mapping-dependent calls while still catching the majority of problematic overlaps. The placement cache is cleared on world unload to avoid memory leaks between sessions. StructureOverlapChecker is deprecated and removed from runtime. If your code references that class, replace those references with EarlyStructureOverlapChecker. The runtime no longer calls the old API. Concretely, replace any imports of the old checker with com.garakrral.nostructureoverlap.ut
...
# No Structure Overlap v1.0.1 For Fabric

## What's New?

This release adds a simple, robust system that prevents structures from being placed on top of each other during world generation. Instead of attempting to detect overlaps after a structure has already started building, the mod now performs a fast, conservative check before generation begins and blocks placements that would conflict. The everyday effect is fewer half-generated or intersecting structures, fewer wasted generation attempts, and better stability across different Forge and NeoForge mapping setups. The check is intentionally conservative: it uses the chunk center X/Z and an approximate Y instead of relying on mapping-sensitive bounding box APIs. That choice trades absolute precision for reliability and cross-mapping compatibility. In normal play you should only notice that overlapping structures no longer appear; for pack authors and server operators it means cleaner worldgen and fewer strange structure artifacts.

StructureOverlapChecker is now deprecated and is no longer used at runtime. If you are still calling or importing StructureOverlapChecker, migrate to the new EarlyStructureOverlapChecker. Migration notes are included below.


## For developers

<div class="spoiler">The mixin now inspects structure generation earlier and registers placements only when a structure actually finishes placement. The new flow is: run a quick overlap test at the start of the target generate method; if the test reports a conflict, return an invalid start to block placement; if generation completes successfully, record the placement so future checks see it. This guarantees the registry contains only successfully placed structures instead of attempted or partial placements. The mixin performs a safe registry lookup for the structure identifier and falls back to a predictable string when the registry lookup fails. This helps avoid NoSuchMethod or mapping-specific failures across different mappings or NeoForge wrapper versions. The approximate vertical level used when recording is levelHeightAccessor.getMinBuildHeight() + 64 by default; that can be adjusted later if you want a different baseline. The old bounding-box approach was removed in favor of storing a small, thread-safe set of recorded centers. Each recorded entry contains the center X, center Y (approximate), center Z, and the structure id. The overlap test is a fast radius check using a horizontal radius and a vertical tolerance. This approach avoids fragile reflection or mapping-dependent calls while still catching the majority of problematic overlaps. The placement cache is cleared on world unload to avoid memory leaks between sessions. StructureOverlapChecker is deprecated and removed from runtime. If your code references that class, replace those references with EarlyStructureOverlapChecker. The runtime no longer calls the old API. Concretely, replace any imports of the old checker with com.garakrral.nostructureoverlap.util.Earl
...
# No Structure Overlap v1.0.1 For NeoForge

## What's New?

This release adds a simple, robust system that prevents structures from being placed on top of each other during world generation. Instead of attempting to detect overlaps after a structure has already started building, the mod now performs a fast, conservative check before generation begins and blocks placements that would conflict. The everyday effect is fewer half-generated or intersecting structures, fewer wasted generation attempts, and better stability across different Forge and NeoForge mapping setups. The check is intentionally conservative: it uses the chunk center X/Z and an approximate Y instead of relying on mapping-sensitive bounding box APIs. That choice trades absolute precision for reliability and cross-mapping compatibility. In normal play you should only notice that overlapping structures no longer appear; for pack authors and server operators it means cleaner worldgen and fewer strange structure artifacts.

StructureOverlapChecker is now deprecated and is no longer used at runtime. If you are still calling or importing StructureOverlapChecker, migrate to the new EarlyStructureOverlapChecker. Migration notes are included below.


## For developers

<div class="spoiler">The mixin now inspects structure generation earlier and registers placements only when a structure actually finishes placement. The new flow is: run a quick overlap test at the start of the target generate method; if the test reports a conflict, return an invalid start to block placement; if generation completes successfully, record the placement so future checks see it. This guarantees the registry contains only successfully placed structures instead of attempted or partial placements. The mixin performs a safe registry lookup for the structure identifier and falls back to a predictable string when the registry lookup fails. This helps avoid NoSuchMethod or mapping-specific failures across different mappings or NeoForge wrapper versions. The approximate vertical level used when recording is levelHeightAccessor.getMinBuildHeight() + 64 by default; that can be adjusted later if you want a different baseline. The old bounding-box approach was removed in favor of storing a small, thread-safe set of recorded centers. Each recorded entry contains the center X, center Y (approximate), center Z, and the structure id. The overlap test is a fast radius check using a horizontal radius and a vertical tolerance. This approach avoids fragile reflection or mapping-dependent calls while still catching the majority of problematic overlaps. The placement cache is cleared on world unload to avoid memory leaks between sessions. StructureOverlapChecker is deprecated and removed from runtime. If your code references that class, replace those references with EarlyStructureOverlapChecker. The runtime no longer calls the old API. Concretely, replace any imports of the old checker with com.garakrral.nostructureoverlap.util.Ea
...
# No Structure Overlap v1.0.1 For Fabric

## What's New?

This release adds a simple, robust system that prevents structures from being placed on top of each other during world generation. Instead of attempting to detect overlaps after a structure has already started building, the mod now performs a fast, conservative check before generation begins and blocks placements that would conflict. The everyday effect is fewer half-generated or intersecting structures, fewer wasted generation attempts, and better stability across different Forge and NeoForge mapping setups. The check is intentionally conservative: it uses the chunk center X/Z and an approximate Y instead of relying on mapping-sensitive bounding box APIs. That choice trades absolute precision for reliability and cross-mapping compatibility. In normal play you should only notice that overlapping structures no longer appear; for pack authors and server operators it means cleaner worldgen and fewer strange structure artifacts.

StructureOverlapChecker is now deprecated and is no longer used at runtime. If you are still calling or importing StructureOverlapChecker, migrate to the new EarlyStructureOverlapChecker. Migration notes are included below.


## For developers

<div class="spoiler">The mixin now inspects structure generation earlier and registers placements only when a structure actually finishes placement. The new flow is: run a quick overlap test at the start of the target generate method; if the test reports a conflict, return an invalid start to block placement; if generation completes successfully, record the placement so future checks see it. This guarantees the registry contains only successfully placed structures instead of attempted or partial placements. The mixin performs a safe registry lookup for the structure identifier and falls back to a predictable string when the registry lookup fails. This helps avoid NoSuchMethod or mapping-specific failures across different mappings or NeoForge wrapper versions. The approximate vertical level used when recording is levelHeightAccessor.getMinBuildHeight() + 64 by default; that can be adjusted later if you want a different baseline. The old bounding-box approach was removed in favor of storing a small, thread-safe set of recorded centers. Each recorded entry contains the center X, center Y (approximate), center Z, and the structure id. The overlap test is a fast radius check using a horizontal radius and a vertical tolerance. This approach avoids fragile reflection or mapping-dependent calls while still catching the majority of problematic overlaps. The placement cache is cleared on world unload to avoid memory leaks between sessions. StructureOverlapChecker is deprecated and removed from runtime. If your code references that class, replace those references with EarlyStructureOverlapChecker. The runtime no longer calls the old API. Concretely, replace any imports of the old checker with com.garakrral.nostructureoverlap.util.Earl
...
[1.0] No Structure Overlap 1.0 by Garakrral on Aug 29, 2026
Download
# No Structure Overlap v1.0 For Forge

## What's New?

This release adds a simple, robust system that prevents structures from being placed on top of each other during world generation. Instead of attempting to detect overlaps after a structure has already started building, the mod now performs a fast, conservative check before generation begins and blocks placements that would conflict. The everyday effect is fewer half-generated or intersecting structures, fewer wasted generation attempts, and better stability across different Forge and NeoForge mapping setups. The check is intentionally conservative: it uses the chunk center X/Z and an approximate Y instead of relying on mapping-sensitive bounding box APIs. That choice trades absolute precision for reliability and cross-mapping compatibility. In normal play you should only notice that overlapping structures no longer appear; for pack authors and server operators it means cleaner worldgen and fewer strange structure artifacts.

StructureOverlapChecker is now deprecated and is no longer used at runtime. If you are still calling or importing StructureOverlapChecker, migrate to the new EarlyStructureOverlapChecker. Migration notes are included below.



<details>
<summary>For developers</summary>

The mixin now inspects structure generation earlier and registers placements only when a structure actually finishes placement. The new flow is: run a quick overlap test at the start of the target generate method; if the test reports a conflict, return an invalid start to block placement; if generation completes successfully, record the placement so future checks see it. This guarantees the registry contains only successfully placed structures instead of attempted or partial placements.

The mixin performs a safe registry lookup for the structure identifier and falls back to a predictable string when the registry lookup fails. This helps avoid NoSuchMethod or mapping-specific failures across different mappings or NeoForge wrapper versions. The approximate vertical level used when recording is levelHeightAccessor.getMinBuildHeight() + 64 by default; that can be adjusted later if you want a different baseline.

The old bounding-box approach was removed in favor of storing a small, thread-safe set of recorded centers. Each recorded entry contains the center X, center Y (approximate), center Z, and the structure id. The overlap test is a fast radius check using a horizontal radius and a vertical tolerance. This approach avoids fragile reflection or mapping-dependent calls while still catching the majority of problematic overlaps. The placement cache is cleared on world unload to avoid memory leaks between sessions.

StructureOverlapChecker is deprecated and removed from runtime. If your code references that class, replace those references with EarlyStructureOverlapChecker. The runtime no longer calls the old API. Concretely, replace any imports of the old checker with com.garakrral.nostructureoverlap.uti
...
No Structure Overlap Icon
Download No Structure Overlap
Select game version
Select platform