promotional bannermobile promotional banner

Empty NBT Tag Fix (Item Stack Fix)

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

File Details

EmptyNbtFix-1.20.1-1.0.0.jar

  • R
  • Jan 13, 2026
  • 12.14 KB
  • 5.9K
  • 1.20.1
  • Forge

File Name

EmptyNbtFix-1.20.1-1.0.0.jar

Supported Versions

  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:empty-nbt-tag-fix-1327575:7454555")
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

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.