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 matches 1.20.1 Forge?

Updated 9 months ago
Best match for your filters exclusions_lib-1.0.2-forge.jar
Game version 1.20.1
Loader Forge

Exclusions Lib exclusions_lib-1.0.2-forge.jar targets 1.20.1 with Forge. 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 Forge
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 exclusions_lib-1.0.2-forge.jar need?

exclusions_lib-1.0.2-forge.jar on 1.20.1 Forge. Every mod below is checked against that same setup.

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 exclusions_lib-1.0.2-forge.jar on 1.20.1 Forge. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use exclusions_lib-1.0.2-forge.jar. It targets 1.20.1 with Forge; 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 exclusions_lib-1.0.2-forge.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

1 of 10 releases match
Clear filters

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