ModsFinder

Tag Exclusion

by ThePotatoArchivist

Tag Exclusion is a Fabric library that lets data packs remove individual entries from a tag without replacing the whole tag file.

FabricServer-side onlyMIT LicenseOpen source1.21 – 26.1.2

What it does

Tag entries in a data pack normally add to a tag, and replacing a tag means rewriting every entry it holds. The library provides an exclusion entry, marked with a leading exclusion mark, that removes one named entry from the tag and from any earlier entries in the same tag file. The entry mark itself is optional on the entry being removed, so a short form is available when writing data packs by hand.

Exclusions also work through the standard expanded format, so a tag file can mix ordinary and excluded entries. For mod developers, data generation can add tag exclusions with extension methods on TagAppender. Mods that generate tags this way declare a hard dependency on Tag Exclusion, and generated run configurations must be regenerated in the IDE after adding it.

Tag Exclusion requires Fabric API. Only the server needs it, and players join without installing anything. The code is released under the MIT License and is open source. Builds cover 1.21 – 26.1.2 with files for 1.21, 1.21.1, 1.21.11, 26.1, 26.1.1 and 26.1.2, and the latest file is 1.1.1+mc26.1 for 26.1.2, published 2026-03-25.

Key features

  1. Removing tag entries

    A data pack can remove a single entry from a tag that another file added, without rewriting the tag.

  2. Abbreviated exclusion syntax

    An exclusion can be written in a short form in which the leading entry mark is optional.

  3. Expanded format support

    Exclusions can be placed in the standard expanded tag format alongside ordinary entries.

  4. Data generation helpers

    Extension methods on TagAppender let generated tag files include exclusions.

Compatibility

Latest build for each game version and loader.

26.1.21.1.1+mc26.1
26.1.11.1.1+mc26.1
26.11.1.1+mc26.1
1.21.111.1.0+mc1.21.11
1.21.11.1.0+mc1.21.1
1.211.1.0+mc1.21.1
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

Use cases

Who it’s for: Data pack authors who want to adjust vanilla or modded tags, and mod developers who generate tag data and need exclusion entries.

How it compares

Full comparison

GK1H Tags is a Fabric and NeoForge option for 1.21.1 with a server required and client optional environment, and it is open source under the MIT License. AutoTag is Fabric only for 1.18.2 – 1.20.1, runs on client and server, and is open source under the MIT License. Exclusions Lib targets Fabric, Forge and NeoForge for 1.20.1 – 1.21.6, is server-side only like Tag Exclusion, and is not open source, released under the Creative Commons Attribution 4.0 license.

ModLoadersGame versionsEnvironmentUpdated
Tag ExclusionFabric1.21 – 26.1.2Server-side only2026-03-25
GK1H TagsFabric and NeoForge1.21.1Server required, client optional2025-12-13
AutoTagFabric1.18.2 – 1.20.1Client and server2023-07-07
Exclusions LibFabric, Forge and NeoForge1.20.1 – 1.21.6Server-side only2026-01-21

Questions

Does Tag Exclusion need Fabric API?

Yes. Fabric API is a required dependency, so it must be installed next to Tag Exclusion on Fabric.

Does the server need Tag Exclusion for players to join?

No. Only the server needs it, and players join without installing anything.

Which game versions does Tag Exclusion support?

Files cover 1.21, 1.21.1, 1.21.11, 26.1, 26.1.1 and 26.1.2. The latest is 1.1.1+mc26.1 for 26.1.2, published 2026-03-25.

In the catalog

Tag Exclusion is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 15,189 mods support Minecraft 26.1.2.

More from ThePotatoArchivist

All projects

Similar mods

What the author says

This library is now obsolete on 26.1+, as Fabric API and Neoforge now both contain ways to remove entries from tag files. A library & utility to allow removing entries from tags, to avoid having to use "replace": true in datapacks.
ThePotatoArchivist, on the Modrinth page

Official listing

Owner
ThePotatoArchivist
Published
2026-01-23
Updated on Modrinth
2026-03-25
Facts verified
2026-10-15

Tags