promotional bannermobile promotional banner

Empty NBT Tag Fix (Item Stack Fix)

Very simple mod that removes empty NBT tag{} that prevents items from stacking.
Back to Files

EmptyNbtFix-1.20.1-1.0.0.jar

File nameEmptyNbtFix-1.20.1-1.0.0.jar
Uploader
folticfoltic
Uploaded
Jan 13, 2026
Downloads
17.4K
Size
12.1 KB
Mod Loaders
Forge
File ID
7454555
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:empty-nbt-tag-fix-1327575:7454555")

Learn more about Curse Maven

What's new

Finally updated to 1.20.1 (Sorry tom and wu_meng, hope everything turned out alright)

 

+ I've added customizability via commands that'll update in real-time (Thanks TheRookie77 for the suggestion)

  • /emptynbtfix toggle-empty on/off - Toggles the original function of removing empty "tag{}" nbt.
  • /emptynbtfix rule add [nbt] [optional filter]Add a rule for nbt removal.
  • /emptynbtfix rule list - Lists all current rules including the toggle.
  • /emptynbtfix remove [rule id]- Removes a rule via the rule's ID that is found using the list command.

 

Examples of how rules are added and what the filter argument does:

  • /emptynbtfix rule add AnnoyingNBT - Will remove the specified NBT from ALL items that are held, in inventory, within opened chests, etc. If the item is interacted with, the NBT will be removed.
  • /emptynbtfix rule add AnnoyingNBT item:minecraft:string - Will remove the specified NBT from all vanilla minecraft string that are held, in inventory...You get the idea.
  • /emptynbtfix rule add AnnoyingNBT tag:#minecraft:logs - Removes the specified NBT from every item with the #minecraft:logs registry tag.

 

The add command is case-sensitive and will also not work without specifying "item" or "tag".

Since this is version 1.0.0, feel free to leave any current bugs, quirks or suggestions in the comments. I might not have a good starting record of getting to them, but i'll try as this was originally a personal mod that I released due to others asking for it.

This mod has no additional files