ArcanumLib
作者:chen_1335
A loot and attribute framework for mods — rework any loot table from datapacks, code or KubeJS.
介绍
中文介绍正在准备中,下面暂时显示原文。
Rework any loot table in Minecraft 1.21.1 — from datapacks, code or KubeJS.
ArcanumLib is a loot and attribute framework for mod and pack authors. It splits "changing drops" into three composable layers, so you can do it with a json injector, with your own code, or straight from a KubeJS script.
What you get
- Loot injectors (datapack): pick any table, pool, entry, function or condition across five levels, then add, remove or edit them — 5 selector families (54 selectors) and 41 operators.
- Chance modifiers: the
arcanumlib:chance_modifierscondition, with nine modifiers that rewrite a base chance from difficulty, tool enchantment or entity attributes. - All-of entry:
arcanumlib:all_of, where every child is produced. - Four attributes:
seeking,fortune,lootingandbonus_loot(extra rolls on entity drops and chests). - Commands:
/arcanumlib export lootTableand/arcanumlib loot_simulation. - KubeJS API (optional): 12 script events plus 14 factory helpers, and a read-only
ArcanumLibbinding. - Mod compatibility: Advanced Loot Info and AStages support, loaded automatically when present.
Getting started
- Drop a json injector into
data/<your namespace>/loot_injecter/, then run/reload. - Or do it in code: register from Java, or with
ArcanumLibEvents.registerLootInjectorin KubeJS. - Full documentation (中文 / English) is in the
docs/folder of the repository.
常见问题
ArcanumLib 支持哪些 Minecraft 版本?
ArcanumLib 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。
ArcanumLib 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
chen_1335 的其他作品
查看全部 →CurioEnchantment
by chen_1335
一个能为饰品附魔的模组
47.2万
8 个月前
CurseForge
Forbidden Arcanus JS
by chen_1335
Forbidden and Arcanus 与 KubeJS 兼容性
21.5万
7 个月前
CurseForge
Apothic Attributes Extension
by chen_1335
一个为 Apothic Attributes 添加搜索栏,并加入一些实用属性和工具的模组。
21.2万
20 天前
CurseForge
Immersive Engineering JS
by chen_1335
KubeJS 与沉浸工程的兼容
11.8万
1 个月前
CurseForge
评论
登录后评论和评分