Empty NBT Tag Fix (Item Stack Fix)
Modby foltic
A simple mod that removes the empty NBT tag {} which causes items to not stack.
Description
A simple and small mod that removes the empty NBT tag that prevents items from stacking.
Originally made for personal use in 1.19.2 due to the bug being present in the mod Tensura: Nightmares so compatiability may be questionable, but worked with no issues in a 300+ mod modpack I used that included mods such as Apotheosis, Botania, Occultism, AE2 w/ addons, etc.
I've introduced configuration commands to the 1.20.1 version of the mod for various cases, as I'm unaware of any item stacking issues that could be caused by any empty NBT tags other than "tag{}". The changelog has examples of how these are used.
- /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 status.
- /emptynbtfix remove [rule id]- Removes a rule via the rule's ID that is found using the list command.
Server compatibility hasn't been tested, but the commands require level 4 permission (OP/Administrative), and would be required on both the client and server.
Feel free to leave bugs in the comments.
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Recreation of Exile - Weapons
Custom Made 3D Weapons, Shields & Offhand Items for RoE/CTE2
TFC Vessel Tooltip
Adds a tooltip for vessel alloying.
Diamond Nuggets
There's iron and gold nuggets, why not diamond nuggets? (Forge/Fabric)
Legacy4J
This mod adapts all the features from old Minecraft Legacy Console edition
DragonMine Z: «Aurora»
An immersive Dragon Ball mod. Create your own character, explore other worlds and fight strong enemies!
Delete Worlds To Trash [Legacy Fabric]
Deleted worlds are gone forever, right? Not anymore! Simply restore them from your recycle bin.