此附加组件允许你为模组 Ars Nouveau 创建配方。
注意:Modrinth 不托管 Ars Nouveau 模组,因此要运行此模组,你必须从其他来源安装它。
ServerEvents.recipes(event => {
event.recipes.ars_nouveau.enchanting_apparatus(
[
"minecraft:sand",
"minecraft:sand",
"minecraft:sand",
"minecraft:sand",
], // 输入物品
"minecraft:gunpowder", // 试剂
"minecraft:tnt", // 输出
1000, // 源消耗
// true // 保留试剂的 NBT,类似于锻造台配方
);
event.recipes.ars_nouveau.enchantment(
[
"minecraft:sand",
"minecraft:sand",
"minecraft:sand",
"minecraft:sand",
], // 输入物品
"minecraft:vanishing_curse", // 应用的附魔
1, // 附魔等级
1000, // 源消耗
);
event.recipes.ars_nouveau.crush(
"minecraft:tnt", // 输入方块
[{
item: "minecraft:sand",
chance: 1
}] // 掉落表
// true // 是否在世界中掉落物品?
);
/*
// 这*确实*有效,但配方必须是一个有效的符文
// 在书中,所以这实际上只能用于
// 替换符文的配方
event.recipes.ars_nouveau.glyph(
"minecraft:tnt", // 输出物品(符文)
[
"minecraft:sand",
"minecraft:gunpowder",
], // 输入物品
3 // 经验消耗
);
*/
// 可以通过 `/ars-tome id` 访问,在这种情况下是 `/ars-tome kubejs:not_glow`
// 这是直接复制自基础版 Ars Nouveau 中的发光陷阱之书
event.recipes.ars_nouveau.caster_tome(
"Not-Glow Trap", // 名称,
[
"ars_nouveau:glyph_touch",
"ars_nouveau:glyph_rune",
"ars_nouveau:glyph_snare",
"ars_nouveau:glyph_extend_time",
"ars_nouveau:glyph_light"
], // 法术
"Doesn't snare the target and grant other targets Glowing.", // 描述
16718260, // 颜色
{
"family": "ars_nouveau:default",
"pitch": 1.0,
"volume": 1.0
},
).id("kubejs:not_glow")
event.recipes.ars_nouveau.imbuement(
"minecraft:sand", // 输入物品
"minecraft:tnt", // 输出
1000, // 源消耗
[
"minecraft:gunpowder"
] // 祭坛物品 // 可选
)
})
你是这个资源的作者?登录后可认领此资源。
相似资源
Woot Revived
pharuxtan
一个用于收集生物掉落物的多区块模组。
生物科技
355
玉Jade ?
Snownee
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
实用前置
346
物品管理器Just Enough Items (JEI)
mezz
查看物品与配方
前置实用
240
KubeJS
Lat
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
前置实用
239
AAA Particles
ChloePrime
适用于 MC 1.18+ 的 Effekseer 加载器
前置装饰
186
WTHIT
deirn
那是什么?一个 Waila/Hwyla 的分支。
前置实用
165
评论 0
登录后参与评分
还没有评论,来抢沙发吧