Modscraper Modscraper Minecraft
Feature NBT Deadlock Be Gone logo

Feature NBT Deadlock Be Gone

Mod

by telepathicgrunt

Fixes deadlocks caused by https://bugs.mojang.com/browse/MC-246262

Type

Mod

CurseForge Downloads

19,038,116

CurseForge ID

560323

Last Updated

Nov 6, 2026

Description

Files

Forge download: Click here

Fabric download: Click here

--------------------------------------------------------------------------------------------------------------


INFO

This mod's sole goal is to fix this bug for 1.18 MC: https://bugs.mojang.com/browse/MC-246262

NOTE: The bug does not appear to be reproducible in 1.19+ anymore!

 

The bug is when placing NBT builds into the world during worldgen, it can deadlock the game if the build is replacing a BlockEntity of any kind. Spawners, chests, lecterns, beds, signs, etc. Which is... bad. Your game locks up and freezes. Ticks are no longer being run. 

 

The issue comes down to the fact that the method used to place build's blocks in the world is not worldgen safe. It is using the wrong world object inside. The way this mod fixes the bug is by simply skipping the calls to those unsafe methods if the world passed into the nbt placing method is a WorldGenRegion class. More info and in-depth detail is in the bug report above. 

 

For mods, this bug may occur more often which is why it may be a good idea to just have this mod on as a precaution. 

 

This bug does not occur in 1.17.x and below. It is fixed in 1.19 and above. It seems to only exist in 1.18.x. 

 

------------------------------------------

MOD DEVERLOPERS:

To use in dev, add this to the repositories block in build.gradle:


    maven {

       // FeatureNBTDeadlockBeGone

       url "https://nexus.resourcefulbees.com/repository/maven-public/"   

    }


Then in dependencies block in build.gradle, add:

     FORGE:

     runtimeOnly fg.deobf("com.telepathicgrunt:FeatureNBTDeadlockBeGone-Forge:2.0.0+1.18.2")

     FABRIC:

     modRuntimeOnly "com.telepathicgrunt:FeatureNBTDeadlockBeGone-Fabric:2.0.0+1.18.2"

     QUILT:

         modRuntimeOnly "com.telepathicgrunt:FeatureNBTDeadlockBeGone-Quilt:2.0.0+1.18.2"

 

Change 2.0.0+1.18.2 to the version you want.

 

 

Discord Link to #telepathicgrunt-mods channel for my mods! : 

https://discord.gg/K8qRev3yKZ

discord-logo-png-free-transparent-png-logos-discord-png-logo-300_300 (PNG)  | BeeIMG

Compatibility

Mod Loaders

Forge

Game Versions

1.18.2

Recommended Gear

Affiliate

Hardware and extras that pair well with this mod.

As an Amazon Associate I earn from qualifying purchases.

Similar Mods

Included in Modpacks (96)

Show fewer
DawnCraft - Echoes of Legends DawnCraft - Echoes of Legends All the Mods 7 - ATM7 All the Mods 7 - ATM7 BounceSMP: Public BounceSMP: Public Better MC [FORGE] BMC2 Better MC [FORGE] BMC2 Valhelsia: Enhanced Vanilla Valhelsia: Enhanced Vanilla Play as Dragon [Abandoned] Play as Dragon [Abandoned] All of Fabric 5 - AOF5 All of Fabric 5 - AOF5 Guns N' Dragons Guns N' Dragons Fantasy Realm Fantasy Realm Medieval MC [FORGE] MMC2 Medieval MC [FORGE] MMC2 Origins Adventure Origins Adventure TNP Limitless 5 - LL5 TNP Limitless 5 - LL5 CottageCore Fantasy CottageCore Fantasy Enigmatica 8 - E8 - 1.18 Enigmatica 8 - E8 - 1.18 The Winter Frontier The Winter Frontier Arcane Chronicles : Ice and Fire Arcane Chronicles : Ice and Fire Ragnamod VII Ragnamod VII Sky FABRICation 3 Sky FABRICation 3 Another Quality Modpack 3 - AQM3 Another Quality Modpack 3 - AQM3 SkyT SkyT All the Mods - Gravitas - ATMG All the Mods - Gravitas - ATMG Bliss - a peaceful-like experience Bliss - a peaceful-like experience The Biggest Modpack The Biggest Modpack Ethanol's Wither Storm Revamp of Immersion Ethanol's Wither Storm Revamp of Immersion Dungeons & Mineshafts: 5th Edition Dungeons & Mineshafts: 5th Edition OxMODPACK 8 OxMODPACK 8 Cottage Craft Cottage Craft All the Mods 7 Lite - Spark - ATM7L All the Mods 7 Lite - Spark - ATM7L Create : The zombie apocalypse Create : The zombie apocalypse Ragnamod VII In The Sky Ragnamod VII In The Sky Multiblock Madness 2 Multiblock Madness 2 Strictly Medieval [ FORGE ] 2 Strictly Medieval [ FORGE ] 2 CraisinCraft Reloaded CraisinCraft Reloaded Better than Better Than Wolves ( BTBTW ) Better than Better Than Wolves ( BTBTW ) MahGroogly’s Terror MahGroogly’s Terror Create 90gQ Create 90gQ Book Of Dragons Book Of Dragons The 100 Days Multiverse: Dimensions The 100 Days Multiverse: Dimensions CRIF 2 - Create an empire of Rats to fight "Ice&Fire" CRIF 2 - Create an empire of Rats to fight "Ice&Fire"                                                                                                AMP - Mechanisms, Magic & Masonry AMP - Mechanisms, Magic & Masonry Odyssey 3 Odyssey 3 AtlanAbyss AtlanAbyss GD: Hexing Tales GD: Hexing Tales Cute Cottage Craft Cute Cottage Craft Empire - Minecolonies 1.18.2 Empire - Minecolonies 1.18.2 Infinity Foundation Infinity Foundation Tech Spirit Tech Spirit Waterworld - A Multiverse Adventure Waterworld - A Multiverse Adventure Project Nope Zone Project Nope Zone MagiCraft4 - The Curse of Ignis MagiCraft4 - The Curse of Ignis Branzy's Pirate life Branzy's Pirate life Fantasy World Adventure (Become a dragon) Fantasy World Adventure (Become a dragon) DawnCraft - Russian lang DawnCraft - Russian lang Combat Evolved - Guns, Dungeons, & More! Combat Evolved - Guns, Dungeons, & More! Branzy's pirate Branzy's pirate Carpet Carpet DawnCraft Ultimate Edition DawnCraft Ultimate Edition The Mermaid Isles The Mermaid Isles Visuality Visuality Immersive Journey Mods Immersive Journey Mods CrewModed CrewModed Craft a Family Craft a Family Creative Industrialization: Festering Industry Creative Industrialization: Festering Industry Randomized Craft (DEEP FRIED) Randomized Craft (DEEP FRIED) Team Tank Pack Team Tank Pack AtariKafa ZindanCraft S3 AtariKafa ZindanCraft S3 TRIX SMP - QSMP Fan Server TRIX SMP - QSMP Fan Server Pirates Of The Infinite Caribbean Pirates Of The Infinite Caribbean Critters and monsters Critters and monsters Age of Fate: The Frozen Hope Age of Fate: The Frozen Hope Time to Morph Time to Morph RPG Edition III [Frabric] RPG Edition III [Frabric] MC LifeAdventure MC LifeAdventure Isle of Berk Colonies Isle of Berk Colonies A Nature, Building and Exploring Pack A Nature, Building and Exploring Pack Tetra+ Tetra+ Sugar's Ultimate Changed Sugar's Ultimate Changed Dinosaur Survival Dinosaur Survival The Last Dawn I - Zombie Apocalypse The Last Dawn I - Zombie Apocalypse Bosses Galore Bosses Galore Fox Adventures: Origins Fox Adventures: Origins Aftermath: Zombie Apocalypse Aftermath: Zombie Apocalypse Isle Of Burke+ Isle Of Burke+ lce and Fire for friends lce and Fire for friends The Book Of Dragons The Book Of Dragons The 200 Pack The 200 Pack CrossCraft: Mediaval Fantasy CrossCraft: Mediaval Fantasy The Watchtower The Watchtower ARK: The Full Survival Package ARK: The Full Survival Package NaturalAdventures - Adventure in the wildest nature NaturalAdventures - Adventure in the wildest nature The Ferret Business 2 - Vaults of Fortune The Ferret Business 2 - Vaults of Fortune create Robots. create Robots. Isle of Berk (Dawn of the new Vikings) Isle of Berk (Dawn of the new Vikings) DragonCraft Adventures DragonCraft Adventures GeckoCraft II GeckoCraft II Limitless Realms Limitless Realms

External Resources