Перейти к содержимому
Mineforgian

Exclusions Lib

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

44K загрузок10 подписчиковCC-BY-4.0fabricforgeneoforge

Обновлён 21 января 2026 г. · опубликован 23 сентября 2024 г.

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 THESE BUILT IN): 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"
  ]
}```

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
1.1.0-NEOРелиз1.21.1neoforge21 января 2026 г..jar (93 КБ)
1.0.2Релиз1.21.6fabric16 сентября 2025 г..jar (104 КБ)
1.0.2-NEOРелиз1.21.1neoforge2 сентября 2025 г..jar (93 КБ)
1.0.2Релиз1.21.1fabric9 февраля 2025 г..jar (104 КБ)
1.0.2Релиз1.20.1forge9 февраля 2025 г..jar (285 КБ)
1.0.2Релиз1.20.1fabric12 ноября 2024 г..jar (104 КБ)
1.0.1Релиз1.20.1fabric12 ноября 2024 г..jar (104 КБ)
1.0Релиз1.20.1fabric12 ноября 2024 г..jar (107 КБ)
0.6Релиз1.20.1fabric28 сентября 2024 г..jar (99 КБ)
0.5Релиз1.20.1fabric23 сентября 2024 г..jar (21 КБ)

Ченджлог

1.1.0-NEOРелиз1.21.1 · 21 января 2026 г.

Fixed Crash that somehow nobody reported for several months Mod now actually works

1.0.2Релиз1.21.6 · 16 сентября 2025 г.

Ported to 1.21.6! Ty to Pizzer for submitting the PR!

1.0.2-NEOРелиз1.21.1 · 2 сентября 2025 г.

NEOFORGE VERSION!

doesnt have tag exclusions as neo has those built in

1.0.2Релиз1.21.1 · 9 февраля 2025 г.

Ported to 1.21!

1.0.2Релиз1.20.1 · 9 февраля 2025 г.

Forge Port!! Now works with connector!

1.0.2Релиз1.20.1 · 12 ноября 2024 г.

HOTFIX: Fixed issue where the game crashes. Oops

1.0.1Релиз1.20.1 · 12 ноября 2024 г.

HOTFIX: Removed built in tags used for testing that were left in

1.0Релиз1.20.1 · 12 ноября 2024 г.
  • Added Tag Exclusions / Tag Blacklists

Полная история изменений — на Modrinth.

Комментарии

Загружаем…