Minecraft Feature NBT Deadlock Be Gone mod 2026 download
logo
minecraft mod Feature NBT Deadlock Be Gone

Feature NBT Deadlock Be Gone

Game Version: 1.18.1
Total Downloads: 165,531
Updated: Dec 25, 2021
Created: Dec 25, 2021
Download Feature NBT Deadlock Be GoneDownload Earlier Versions

Earlier Versions

Name Size Uploaded Game Version Downloads
Feature NBT Deadlock Be Gone v1.0.0 (1.18.1 MC Fabric) release 15.70 KB Dec 25, 2021 1.18.1 94,360 download Feature NBT Deadlock Be Gone Feature NBT Deadlock Be Gone v1.0.0 (1.18.1 MC Fabric) releaseDownload
Feature NBT Deadlock Be Gone v1.0.0 (1.18.1 MC Forge) release 14.44 KB Dec 25, 2021 1.18.1 71,171 download Feature NBT Deadlock Be Gone Feature NBT Deadlock Be Gone v1.0.0 (1.18.1 MC Forge) releaseDownload

Description

Share this:

 

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

 

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 seems to be introduced 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:1.0.0+1.18.1")

     FABRIC:

     runtimeOnly ("com.telepathicgrunt:FeatureNBTDeadlockBeGone-Fabric:1.0.0+1.18.1") { transitive = false }    

Change 1.0.0+1.18.1 to the version you want.

Comments

Add a comment