EmptyNbtFix-1.20.1-2.0.0.jar
Curse Maven Snippet
What's new
Empty NBT Fix 2.0.0
Your old rules from 1.0.0 should be moved into the new config automatically the first time you load your world. Additionally, the mod is only required on the server to function.
- New
- Config file:
config/emptynbtfix-common.toml. Commands edit the same file, so modpacks can have it pre-configured. - Exclusions: items whose empty NBT is left alone. An item is skipped if it matches any entry. Create's items are excluded by default, which fixes the Attribute Filter closing as soon as it opens.
- Better filters:
!(not), mods (@modid), item tags (#minecraft:logs),*, and several filters per rule.- e.g.
/emptynbtfix rule add AnnoyingNBT minecraft:bundle @createremovesAnnoyingNBTfrom Minecraft bundles, as well as all Create mod items.
- e.g.
/emptynbtfix inspectshows the held item's NBT and which rules/exclusions apply to it./emptynbtfix reloadre-reads the config file after you edit it by hand.
- Quality of Life
- A warning when several rules remove the same NBT key, because their filters don't protect items from each other.
- Colored command output for easier reading.
- The list now has clickable X buttons that fill in the command to remove a rule or exclusion.
- Tab auto-completion for NBT keys (from the held item) and filters (its id, tags and mod).
- Other
- Bug fixes and optimization.
- Commands
By default, only server owners (op level 4) can use these, or the host in singleplayer with cheats on. You can change this with the commandPermissionLevel setting in the config.
Words in CAPITALS are what you fill in. Anything in [brackets] is optional.
/emptynbtfixor/emptynbtfix list: shows the empty-tag setting, exclusions and rules./emptynbtfix reload- Re-reads the config file after hand edits./emptynbtfix inspect- Shows the held item's id, NBT and which rules apply./emptynbtfix toggle-empty on/off- Turns empty-NBT removal on or off./emptynbtfix rule add KEY [FILTER]- Removes KEY from matching items./emptynbtfix rule remove NUMBER- Removes a rule./emptynbtfix exclude add FILTER- Never removes empty NBT from matching items./emptynbtfix exclude remove NUMBER- Removes an exclusion.
- Filters
minecraft:paper- One item.#minecraft:logs- An item tag (a group of items).@create- Every item from a mod.*- Anything (but pretty much useless, to be honest).
Put ! in front of a filter to exclude it. For example, /emptynbtfix rule add AnnoyingNBT !@create removes AnnoyingNBT from every item aside from Create's items.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects

