Back to mods
Long NBT Killer project artwork

Modrinth · Minecraft mod

Long NBT Killer

Prevent minecraft from crashing while encountering deep nbt tags

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Long NBT Killer release should I use?

Updated 2 days ago
Latest stable file NeoForge-26.3-1.1.0
Game version 26.3
Loader NeoForge

Long NBT Killer NeoForge-26.3-1.1.0 targets 26.3 with NeoForge. 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 Long NBT Killer required on the client, server, or both?

Do not install it on the client. It must be installed on the dedicated server.

Client Not supported
Dedicated server Required
Loader for this release NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked server-only.

What else does Long NBT Killer NeoForge-26.3-1.1.0 need?

NeoForge-26.3-1.1.0. Change the file and its required mods may change too.

No extra mods listed for this file

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 Long NBT Killer without breaking your instance.

Built for Long NBT Killer NeoForge-26.3-1.1.0. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use NeoForge-26.3-1.1.0. It targets 26.3 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 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.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside NeoForge-26.3-1.1.0. It opens that exact file at the source.

About this project

What does Long NBT Killer add?

Introduction

When Minecraft is encountering any compound / list nbt tag with a depth greater than 512, it throws an exception and refuses to load the save.

This mod replaced the annoying mechanism with a harmless log warning, and let the game go ahead.

Find the affected data (1.21.11+)

Look for Excessive NBT nesting in logs/latest.log. The warning includes the file, the depth reached and, when available, a path to the first compound or list that crosses the limit. Region warnings also include the dimension and chunk coordinates. A shortened path shows the beginning and end of the branch.

Minecraft normally rejects NBT nested beyond 512 levels. Some mods can add another layer to the same data each time a world is saved, so identify and update the mod that writes the data before repairing the save. Back up the world, then use the reported file and path in an NBT editor. For example, recursively nested terrain rules can be stored in level.dat on older worlds and in data/minecraft/world_gen_settings.dat on 26.x. See the terrain rule repair example.

Configuration (1.21.11+)

Edit config/longnbtkiller-common.toml on the server, or in your Minecraft instance for single-player.

Setting Default Effect
maxDepth 2147483647 Maximum depth for supported save reads. Use 512 to restore the vanilla limit.
warningIntervalTicks 1200 Send the first warning as soon as the server detects deep NBT and has online players. Repeat every 1,200 server ticks after sending, about one minute at 20 TPS. Set to 0 to disable chat reminders.

The warning threshold remains 512 even when the configured read limit is higher. Back up the world before repairing it. Extremely deep data can still exhaust the Java stack during reading, world loading, or saving.

ATTENTION

  • A compound / list nbt tag with a depth greater than 512 itself is abnormal, and you may check your save via NBT editor after receiving the warning in the log;
  • You DEFINITELY CAN add the mod to your modpack.

Project description from Modrinth.

Pick your setup

Long NBT Killer by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

18 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Long NBT Killer versions and loaders

13 of 13 releases match

Looking for an older file? The official Modrinth project page is in Resources.