Get the files on 9Minecraft
Guides
Step-by-step, in-game.
How to Add a Custom Crop to Botany Pots with KubeJSWriting the Crop Recipe Crops in this mod are registered through a server script event. Create a .js file in your…How to Control Crop Drops, Chances, and RollsThe Loot Array Each crop's fourth argument is an array of item entries. Every entry is built with Item.of(...) and…How to Create Custom Soil for Botany PotsRegistering Soil Soil recipes tell Botany Pots which block a pot should display and which growth categories it…How to Set Crop Growth Speed and Growth ModifierGrowth Ticks The fifth argument of the crop recipe is growthTicks , the base time the crop needs to mature. Larger…
Frequently asked questions
How do I add a crop to botany pots with kubejs?
Use ServerEvents.recipes and call event.recipes.botanypots.crop() with the seed item, the soil categories it can grow on, a display block, a loot array, growth ticks, and an optional growth modifier. The seed item is what players plant in the pot.
What are categories in botany pots crops?
Categories are tags that link a crop to the soils it can be planted on. A crop only grows on a soil if they share at least one category, so mismatched categories are the usual reason a crop won't plant.
How do I make custom soil for botany pots?
Call event.recipes.botanypots.soil() with the item the soil is attached to, a display block, the categories it provides, and its growth ticks. The categories you list here are what crops check against when deciding if they can grow.
Why won't my crop plant in the pot?
The crop's categories and the soil's categories don't overlap. Add a matching category string to both the crop and the soil so the crop has a valid soil to grow on.
See all 10 KubeJS Botany Pots questions ›
You May Also Like
Wikis that share the most with this one
More mod wikis on the site
The most downloaded mods that have a wiki here
A few wikis from each of the other kinds

Botany Pots Mod