Adding A Crop - benbenlaw/BBLCloche GitHub Wiki
Recipes are data driven and can be added via datapack or kubejs
The catalyst is not used in the base mod but some crops from mystical require a catalyst block under the crop to grow, this slot is used for that
Duration - Ticks per craft
Results- List of ItemStacks, can have a chance value, the first item in the list is considered the main output for the output upgrade
Seed - Ingredient placed in the seed slot, This item is removed from outputs if using the no seeds upgrade
Shears Result - ItemStack, added to the final results list when the shears upgrade is being used, perfect for leaves, no limit on amount in the list but you probably dont want to exceed the total slots of the cloche
Seed - Ingredient placed in the soil slot
Dimension - Optional, String of the dimension that you want the recipe to work in, for example a crop that can only been grown in the end you can add this. The mod has a Overworld, Nether and End Upgrades allowing for crops with this value to grow in any dimension if the correct upgrade is used. Any item can be used as a dimensional upgrade see more in the upgrades page
Example - Dimension Restriction
"dimension": "minecraft:the_end"
Example - Catalyst
"catalyst": {
"item": "minecraft:gravel"
}
Full Example
{
"type": "cloche:cloche",
"catalyst": [],
"duration": 1200,
"results": [
{
"item": {
"count": 2,
"id": "minecraft:acacia_log"
}
},
{
"chance": 0.2,
"item": {
"count": 1,
"id": "minecraft:acacia_sapling"
}
},
{
"chance": 0.1,
"item": {
"count": 1,
"id": "minecraft:stick"
}
}
],
"seed": {
"item": "minecraft:acacia_sapling"
},
"shears_result": {
"count": 2,
"id": "minecraft:acacia_leaves"
},
"soil": {
"tag": "minecraft:dirt"
}
}