关于 KubeJS Botania 模组
为 Botania 的配方以及药瓶、熏香和污血坠饰的自定义酿造添加支持。
同时支持 Forge 和 Fabric(请查看 Files 选项卡,因为 Recent Files 只会显示最新条目)。
对于 KJS6,你需要将下面的代码调整为符合 KJS6 的风格。
示例:
在 startupscript 中:
onEvent("botania.brews.registry", event => {
event.create("torrent")
- 每次酿造消耗的魔力值。
- 对于污血坠饰,每 tick 消耗为 cost / duration / effectLevel 2.5。
.cost(5000)
- 你想为酿造指定的效果,
- 可以多次指定以同时施加
- 多个效果。
- 参数与 /effect 相同,
- 只是持续时间以 tick 为单位,而不是秒。
.effect("minecraft:waterbreathing", 4800 20)
.effect("botania:allure", 300 20, 0, false, false)
- 设置为禁止该酿造用于熏香。
.noIncense()
- 设置为禁止该酿造用于坠饰注魔。
.noPendant()
在 serverscripts 中:
onEvent("recipes", event => {
event.remove({ output: "botania:livingrock" })
event.recipes.botania.manainfusion("minecraft:acaciaboat", "minecraft:acaciadoor", 200, "minecraft:acacialog")
event.recipes.botania.elventrade(["minecraft:acaciaboat"], "minecraft:diamond")
event.recipes.botania.elventrade(["minecraft:acaciaboat", "minecraft:acaciabutton"], ["minecraft:diamondblock", "minecraft:goldingot"])
event.recipes.botania.puredaisy("minecraft:acaciabutton", "minecraft:acacialeaves")
event.recipes.botania.puredaisy("minecraft:acaciabutton", "minecraft:stone", 1)
event.recipes.botania.brew("kubejs:torrent", ["minecraft:acaciaboat"])
event.recipes.botania.petalapothecary("minecraft:acaciaboat", ["minecraft:acaciabutton"])
event.recipes.botania.runicaltar("minecraft:acaciaboat", ["minecraft:acaciabutton", "minecraft:acaciadoor"], 5000)
event.recipes.botania.terraplate("minecraft:acaciaboat", ["minecraft:acaciabutton", "minecraft:acaciadoor"], 5000000)
event.recipes.botania.orechid("minecraft:acaciabutton", "minecraft:acaciafence", 1)
event.recipes.botania.orechidignem("minecraft:acacialeaves", "minecraft:acaciafencegate", 1)
event.recipes.botania.marimorphosis("minecraft:acaciadoor", "minecraft:acaciafencegate", 1, ["plains"], 10)
如何安装 KubeJS Botania
With Millida Launcher
Install Millida Launcher
The launcher is free: download it at millida.net/launcher and sign in with any nickname.
Click “Install” on this page
The launcher opens and installs the mod for Minecraft 1.18.2–1.20.1 on Fabric, Forge or NeoForge automatically.
Launch the game
A profile with it appears in the launcher: click “Play”.
Manually
Install Fabric, Forge or NeoForge
The loader must match the game version of the mod file, for example Minecraft 1.20.1. After installing it, a separate profile appears in your launcher.
Download the file for your version
In the version list above, pick the file kubejs_botania-1.4.0-forge.jar (28 KB) for your game version and loader.
Put it in the mods folder
The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it.
Launch the loader profile
Open “Mods” in the main menu: KubeJS Botania should be in the list.
Minecraft 1.20.1 runs on Java 17: with a different Java version the game may close right after launch.
版本
含依赖项
| Minecraft | 加载器 | 文件 | 日期 | 操作 |
|---|---|---|---|---|
| 1.20.1 | NeoForge, Forge | kubejs_botania-1.4.0-forge.jar27.8 KB 2 | ||
| 1.20.1 | Fabric | kubejs_botania-1.4.0-fabric.jar27.5 KB | ||
| 1.18.2 | Forge | kubejs_botania-1.0.0-forge.jar26.2 KB | ||
| 1.18.2 | Fabric | kubejs_botania-1.0.0-fabric.jar25.9 KB |
常见问题
Which Minecraft versions does KubeJS Botania work on?
There are files for 1.20.1, 1.18.2. The newest is 1.20.1.
Is KubeJS Botania for Forge or Fabric?
There are files for Fabric: 1.18.2–1.20.1, for Forge: 1.18.2–1.20.1 and for NeoForge: 1.20.1.
Does KubeJS Botania need other mods?
The author lists no required dependencies: the Fabric, Forge or NeoForge loader is enough.
Which Java does KubeJS Botania need?
Minecraft 1.20.1 runs on Java 17. If the game closes right after launch, the usual cause is the wrong Java version in the profile settings.
Where can I download KubeJS Botania safely?
On this page: the file kubejs_botania-1.4.0-forge.jar (28 KB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: 0f1f202f213b781f504f05ea22936f62a5c4b59d.
评价
成为第一个评价 KubeJS Botania 的人

