介绍
介绍由机器翻译自 Modrinth 原页面,仅供参考。
此模组允许你为 Botany Pots 模组创建作物、土壤和肥料。
注意:Botany Pots 模组在 Modrinth 上不可用,因此必须从其他来源下载该模组,此模组才能正常工作
ServerEvents.recipes(event => {
event.recipes.botanypots.crop(
"minecraft:candle", // seed item
["oak_leaves"], // categories that this crop can be planted on
10, // growthTicks
1, // growthModifier - this can be set to 1 in most cases
{ block: "minecraft:candle" }, // display block
[
{
output: "minecraft:candle", // item
chance: 100, // weight of this entry compared to the others
minRolls: 1, // the minimum times this loot will be chosen
maxRolls: 2, // the maximum times this loot will be chosen
// for example, when chosen this will give 1 to 2 candles
}
]
)
event.recipes.botanypots.soil(
"minecraft:oak_leaves", // the item that this soil is attached to
{ block: "minecraft:oak_leaves" }, // display block
["oak_leaves"], // categories that this soil provides
100, // growth ticks that this soil will provide, set to -1 for no modifier
0.5 // optional, growth modifier, example: 0.5 means all crops will take half the time
)
event.recipes.botanypots.fertilizer(
"minecraft:iron_ingot", // fertilizer item
10, // min growth ticks applied
20 // max growth ticks applied
// ex: 10 to 20 ticks will be randomly given to the crop
)
})
常见问题
KubeJS Botany Pots 支持哪些 Minecraft 版本?
KubeJS Botany Pots 支持 Minecraft Java 版 1.19.2–1.21.1,共 3 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
KubeJS Botany Pots 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
MasterOfBob777 的其他作品
查看全部 →KubeJS Ars Nouveau
by MasterOfBob777
Ars Nouveau 的 KubeJS 支持
553.5万
3 年前
Modrinth · CurseForge
KubeJS Powah
by MasterOfBob777
允许你修改 Powah 模组的配方。
470.4万
3 年前
Modrinth · CurseForge
KubeJS ProjectE
by MasterOfBob777
Lets you control various aspects of ProjectE with KubeJS
65.9万
3 年前
Modrinth · CurseForge
Mercury – Quicksilver
by MasterOfBob777
A general optimization modpack for Forge.
747
3 年前
Modrinth
评论
登录后评论和评分