Adds support for Botania recipes, and custom brewing of Flasks, Incenses and Tainted Pendant.
Both Forge and Fabric are supported (Please check in Files tab since Recent Files will only show the latest entry).
For KJS6, you need to adapt code below to fit KJS6's style.
Examples:
In startup_script:
onEvent("botania.brews.registry", event => {
event.create("torrent")
/**
* The cost of mana per brew.
* For Tainted Blood Pendant, it is cost / duration / effectLevel * 2.5 per tick.
*/
.cost(5000)
/**
* The effect you want to specify for the Brew,
* can be specified for multiple times for applying
* multiple effects at once.
* The parameters come the same as /effect,
* except for duration is in ticks, not seconds.
*/
.effect("minecraft:water_breathing", 4800 * 20)
.effect("botania:allure", 300 * 20, 0, false, false)
/**
* Set to deny incense for this brew.
*/
.noIncense()
/**
* Set to deny pendant infusing for this brew.
*/
.noPendant()
})
In server_scripts:
onEvent("recipes", event => {
event.remove({ output: "botania:livingrock" })
event.recipes.botania.mana_infusion("minecraft:acacia_boat", "minecraft:acacia_door", 200, "minecraft:acacia_log")
event.recipes.botania.elven_trade(["minecraft:acacia_boat"], "minecraft:diamond")
event.recipes.botania.elven_trade(["minecraft:acacia_boat", "minecraft:acacia_button"], ["minecraft:diamond_block", "minecraft:gold_ingot"])
event.recipes.botania.pure_daisy("minecraft:acacia_button", "minecraft:acacia_leaves")
event.recipes.botania.pure_daisy("minecraft:acacia_button", "minecraft:stone", 1) event.recipes.botania.brew("kubejs:torrent", ["minecraft:acacia_boat"])
event.recipes.botania.petal_apothecary("minecraft:acacia_boat", ["minecraft:acacia_button"])
event.recipes.botania.runic_altar("minecraft:acacia_boat", ["minecraft:acacia_button", "minecraft:acacia_door"], 5000)
event.recipes.botania.terra_plate("minecraft:acacia_boat", ["minecraft:acacia_button", "minecraft:acacia_door"], 5000000)
event.recipes.botania.orechid("minecraft:acacia_button", "minecraft:acacia_fence", 1)
event.recipes.botania.orechid_ignem("minecraft:acacia_leaves", "minecraft:acacia_fence_gate", 1)
event.recipes.botania.marimorphosis("minecraft:acacia_door", "minecraft:acacia_fence_gate", 1, ["plains"], 10)
})
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.20.1, 1.19.2, 1.18.2
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on CurseForge — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
KubeJS Botania is a free Minecraft Java mod. Compatible with Minecraft 1.20.1, 1.19.2, 1.18.2. Downloaded 6,707,057 times (via CurseForge). Download it and open it directly in the game.