Cloche KubeJS - bbl-team/BBL-Compat GitHub Wiki
Cloche Example
seed (Ingredient), soil (Ingredient), duration (int), results (List)
ServerEvents.recipes(event => {
event.recipes.cloche.cloche("mysticalagriculture:earth_seeds", "mysticalagriculture:inferium_farmland", 2400,
[
["mysticalagriculture:earth_essence"],
["mysticalagriculture:earth_seeds", 0.15],
["mysticalagriculture:fertilized_essence", 0.1]
])
})
Additional Options All Options for Cloche Recipe
.dimension("minecraft:the_nether") // a dimension for the crop to grow in, dimensional upgrades allow the seed to be grown in any dimension if the right upgrade is in the cloche
.catalyst("minecraft:nether_star") // an catalyst item that must be in the cloche in order for the seed to grow, used for crops like mystical agriculture seeds that use crux
.shearsResult("2x minecraft:oak_leaves") // a item that is always obtain when the cloche has the Shears Upgrade
## Dimensional Upgrade
ingredient (Ingredient), dimension (String)
```js
ServerEvents.recipes(event => {
event.recipes.cloche.dimensional_upgrade("minecraft:emerald", "minecraft:the_end")
})
Speed Upgrade
ingredient (Ingredient), type (String Either "fixed" or "percentage"), modifier (int). If fixed modifier is amout removed from all recipes, if percentage then modifier is a percentage amount eg 20 for 20% reduction
ServerEvents.recipes(event => {
event.recipes.cloche.speed_upgrade("minecraft:diamond_block", "fixed", 100) //reduces time by 100 ticks
event.recipes.cloche.speed_upgrade("minecraft:emerald_block", "percentage", 10) //reduces time by 10%
})