Back to mods
Exclusions Lib project artwork

CurseForge · Minecraft mod

Exclusions Lib

A library for reducing headaches when working with json, and to give datapack makers new levers to play with!

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Exclusions Lib release should I use?

Updated 7 months ago
Latest stable file ExclusionsLib-1.1.0-NEO.jar
Game version 1.21.1
Loader NeoForge

Exclusions Lib ExclusionsLib-1.1.0-NEO.jar targets 1.21.1 with NeoForge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is Exclusions Lib required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Exclusions Lib ExclusionsLib-1.1.0-NEO.jar need?

ExclusionsLib-1.1.0-NEO.jar. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Exclusions Lib without breaking your instance.

Built for Exclusions Lib ExclusionsLib-1.1.0-NEO.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use ExclusionsLib-1.1.0-NEO.jar. It targets 1.21.1 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside ExclusionsLib-1.1.0-NEO.jar. It opens that exact file at the source.

About this project

What does Exclusions Lib add?

A library for giving you more levers to use in vanilla json files.

Everything here is only needed on the server, and not the client, so feel free to build your datapacks based off of this!

Current Features: -A new block predicate, exclusions_lib:overlaps_structure: This predicate will take a block position (adjusted by an optional offset field, like most other predicates), and optionally a structures and/or range, and check whether it would overlap a structure. With a structures field, it only checks for certain structures, and with a value for a range (max 32), it will instead check an area around the position.

Use this to stop features from being placed overlapping structures! Or maybe you'd want an ore that only generates near a certain structure?

-Tag Exclusions (NOT IN NEOFORGE VERSION AS NEO ALREADY HAS THOSE): Basically a blacklist field for tags. Want to make a tag that contains everything in #minecraft:small_flowers, except for wither roses? But you still want it to be compatible with every other mod that would add new flowers? Just add wither roses with its "excluded" field set to true, and now you've made a "normal flowers" tag! Is very powerful, allowing you to do all sorts of things, like removing other mod's edge case items from your own tags, while still keeping their item in the common tag you're pulling from, or even straight up removing entries from other mods' tags (or vanilla) yourself!

Example Usage, for a tag that will contain everything in #minecraft:small_flowers, EXCEPT for wither roses, along with a couple other things:

{ "values": [ "#minecraft:small_flowers", { "id": "minecraft:wither_rose", "excluded": true }, "minecraft:apple", "minecraft:waxed_exposed_cut_copper_stairs" ] }

Project description from CurseForge.

Pick your setup

Exclusions Lib by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

7 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Exclusions Lib versions and loaders

10 of 10 releases match

Looking for an older file? The official CurseForge project page is in Resources.