CurseForge · Minecraft mod
Feature NBT Deadlock Be Gone
Fixes deadlocks caused by https://bugs.mojang.com/browse/MC-246262
Quick answer
Which Feature NBT Deadlock Be Gone release should I use?
Feature NBT Deadlock Be Gone 2.0.0+1.18.2_quilt targets 1.18.2 with Quilt. Do not install it on the client. It must be installed on the dedicated server. No extra mods listed for this file.
Where it goes
Is Feature NBT Deadlock Be Gone required on the client, server, or both?
Do not install it on the client. It must be installed on the dedicated server.
This file is marked server-only.
What else does Feature NBT Deadlock Be Gone 2.0.0+1.18.2_quilt need?
2.0.0+1.18.2_quilt. Change the file and its required mods may change too.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add Feature NBT Deadlock Be Gone without breaking your instance.
Built for Feature NBT Deadlock Be Gone 2.0.0+1.18.2_quilt. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 2.0.0+1.18.2_quilt. It targets 1.18.2 with Quilt; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
Do not install it on the client. It must be installed on the dedicated server.
- 04
Pick the file you checked
Use the “Get this file” button beside 2.0.0+1.18.2_quilt. It opens that exact file at the source.
About this project
What does Feature NBT Deadlock Be Gone add?
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! :
Project description from CurseForge.
Pick your setup
Feature NBT Deadlock Be Gone by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.18.1
2 loader buildsCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Feature NBT Deadlock Be Gone versions and loaders
2.0.0+1.18.2_quilt
feature_nbt_deadlock_be_gone_quilt-2.0.0+1.18.2.jar
21 Apr 2022
Feature NBT Deadlock Be Gone v2.0.0 (1.18.2 MC Forge)
feature_nbt_deadlock_be_gone_forge-2.0.0+1.18.2.jar
2 Mar 2022
Feature NBT Deadlock Be Gone v2.0.0 (1.18.2 MC Fabric)
feature_nbt_deadlock_be_gone_fabric-2.0.0+1.18.2-rc1.jar
27 Feb 2022
Feature NBT Deadlock Be Gone v1.0.1 (1.18.1 MC Fabric)
feature_nbt_deadlock_be_gone_fabric-1.0.1+1.18.1.jar
22 Jan 2022
Feature NBT Deadlock Be Gone v1.0.0 (1.18.1 MC Fabric)
feature_nbt_deadlock_be_gone_fabric-1.0.0+1.18.1.jar
25 Dec 2021
Feature NBT Deadlock Be Gone v1.0.0 (1.18.1 MC Forge)
feature_nbt_deadlock_be_gone_forge-1.0.0+1.18.1.jar
25 Dec 2021
Looking for an older file? The official CurseForge project page is in Resources.
