Exclusions Lib
A library for reducing headaches when working with json, and to give datapack makers new levers to play with!
介绍
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"
]
}
常见问题
Exclusions Lib 支持哪些 Minecraft 版本?
Exclusions Lib 支持 Minecraft Java 版 1.20.1–1.21.6,共 4 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。
Exclusions Lib 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
Athebyne 的其他作品
查看全部 →
Exclusions Lib
A library for reducing headaches when working with json, and to give datapack makers new levers to play with!
El and L’s Dyes
Adds 20 new dyes to the game, bringing the total number of dyes to 36! These are integrated into your world with unique crops, deco, plantlife, and more!
Quark Pack Lite 2: Quark Harder
A new quark pack for a new generation
Ingstorm
Adds Metroid Prime 2 style passive damage in a highly configurable way.
评论
登录后评论和评分