Mineuniverse
Log in Register
Mods

Exclusions Lib

A library for reducing headaches when working with json, and to give datapack makers new levers to play with!
by Athebyne
Download Claim this project
249,777 downloads
0 likes
Updated Jul 6, 2026
0 hypes
API and Library Utility & QoL World Gen

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" ] }

ExclusionsLib-1.1.0-NEO.jar
MC 1.21.1, NeoForge, Server
Release 2026-01-21 Get
Exclusions Lib 1.0.2 Fabric 1.21.6
MC Fabric, 1.21.6, Server
Release 2025-09-16 Get
exclusions_lib-1.0.2-forge.jar
MC 1.20.1, Forge, Server
Release 2025-02-09 Get
exclusions_lib-0.6.jar
MC Fabric, 1.20.1, Server
Beta 2024-09-28 Get

More from Athebyne

Ingstorm
104

You Might Also Like

Vivecraft
A Minecraft VR mod on a loader of your choice!
9,988,339
Athena
A crossplatform (Forge/Fabric) solution to connected block textures for 1.19.4+
99,799,527
Lodestone
A collection of code used throughout projects under the Lodestar team.
9,914,417
TheDragonLib
A library for most of sokratis12GR's Mods
9,910,232
Multi Mob Library
A library mod containing essential files for Daveyx0's mob mods
9,892,767
FTB Library (Forge) (Legacy)
FTB Library is a library mod that is used for some of our mods.
98,265,314