events.listen('recipes', function (e) {
  
//Acacia
e.custom({
    "type": "botanypots:crop",
    "seed": {
        "item": "minecraft:acacia_sapling"
    },
    "categories": [
        "dirt"
    ],
    "growthTicks": 2400,
    "display": {
        "block": "minecraft:acacia_sapling"
    },
    "results": [
        {
            "chance": 0.5,
            "output": {
                "item": "minecraft:acacia_log"
            },
            "minRolls": 1,
            "maxRolls": 1
        },
        {
            "chance": 0.1,
            "output": {
                "item": "minecraft:stick"
            },
            "minRolls": 1,
            "maxRolls": 2
        },
        {
            "chance": 0.05,
            "output": {
                "item": "minecraft:acacia_sapling"
            },
            "minRolls": 1,
            "maxRolls": 2
        },
        {
            "chance": 0.1,
            "output": {
                "item": "minecraft:acacia_leaves"
            },
            "minRolls": 1,
            "maxRolls": 2
        }
    ]
})
//Birch
e.custom({
    "type": "botanypots:crop",
    "seed": {
        "item": "minecraft:birch_sapling"
    },
    "categories": [
        "dirt"
    ],
    "growthTicks": 2400,
    "display": {
        "block": "minecraft:birch_sapling"
    },
    "results": [
        {
            "chance": 0.5,
            "output": {
                "item": "minecraft:birch_log"
            },
            "minRolls": 1,
            "maxRolls": 1
        },
        {
            "chance": 0.1,
            "output": {
                "item": "minecraft:stick"
            },
            "minRolls": 1,
            "maxRolls": 2
        },
        {
            "chance": 0.05,
            "output": {
                "item": "minecraft:birch_sapling"
            },
            "minRolls": 1,
            "maxRolls": 2
        },
        {
            "chance": 0.1,
            "output": {
                "item": "minecraft:birch_leaves"
            },
            "minRolls": 1,
            "maxRolls": 2
        }
    ]
})
//Spruce
e.custom({
    "type": "botanypots:crop",
    "seed": {
        "item": "minecraft:spruce_sapling"
    },
    "categories": [
        "dirt"
    ],
    "growthTicks": 2400,
    "display": {
        "block": "minecraft:spruce_sapling"
    },
    "results": [
        {
            "chance": 0.5,
            "output": {
                "item": "minecraft:spruce_log"
            },
            "minRolls": 1,
            "maxRolls": 1
        },
        {
            "chance": 0.1,
            "output": {
                "item": "minecraft:stick"
            },
            "minRolls": 1,
            "maxRolls": 2
        },
        {
            "chance": 0.05,
            "output": {
                "item": "minecraft:spruce_sapling"
            },
            "minRolls": 1,
            "maxRolls": 2
        },
        {
            "chance": 0.1,
            "output": {
                "item": "minecraft:spruce_leaves"
            },
            "minRolls": 1,
            "maxRolls": 2
        }
    ]
})
//Dark Oak
e.custom({
    "type": "botanypots:crop",
    "seed": {
        "item": "minecraft:dark_oak_sapling"
    },
    "categories": [
        "dirt"
    ],
    "growthTicks": 2400,
    "display": {
        "block": "minecraft:dark_oak_sapling"
    },
    "results": [
        {
            "chance": 0.5,
            "output": {
                "item": "minecraft:dark_oak_log"
            },
            "minRolls": 1,
            "maxRolls": 1
        },
        {
            "chance": 0.1,
            "output": {
                "item": "minecraft:dark_oak_leaves"
            },
            "minRolls": 1,
            "maxRolls": 2
        },
        {
            "chance": 0.01,
            "output": {
                "item": "minecraft:apple"
            },
            "minRolls": 1,
            "maxRolls": 1
        },
        {
            "chance": 0.05,
            "output": {
                "item": "minecraft:dark_oak_sapling"
            },
            "minRolls": 1,
            "maxRolls": 2
        }
    ]
})
//Jungle
e.custom({
    "type": "botanypots:crop",
    "seed": {
        "item": "minecraft:jungle_sapling"
    },
    "categories": [
        "dirt"
    ],
    "growthTicks": 2400,
    "display": {
        "block": "minecraft:jungle_sapling"
    },
    "results": [
        {
            "chance": 0.5,
            "output": {
                "item": "minecraft:jungle_log"
            },
            "minRolls": 1,
            "maxRolls": 1
        },
        {
            "chance": 0.1,
            "output": {
                "item": "minecraft:jungle_leaves"
            },
            "minRolls": 1,
            "maxRolls": 2
        },
        {
            "chance": 0.01,
            "output": {
                "item": "minecraft:cocoa_beans"
            },
            "minRolls": 1,
            "maxRolls": 1
        },
        {
            "chance": 0.05,
            "output": {
                "item": "minecraft:jungle_sapling"
            },
            "minRolls": 1,
            "maxRolls": 2
        }
    ]
})
//Oak
e.custom({
    "type": "botanypots:crop",
    "seed": {
        "item": "minecraft:oak_sapling"
    },
    "categories": [
        "dirt"
    ],
    "growthTicks": 2400,
    "display": {
        "block": "minecraft:oak_sapling"
    },
    "results": [
        {
            "chance": 0.5,
            "output": {
                "item": "minecraft:oak_log"
            },
            "minRolls": 1,
            "maxRolls": 1
        },
        {
            "chance": 0.1,
            "output": {
                "item": "minecraft:oak_leaves"
            },
            "minRolls": 1,
            "maxRolls": 2
        },
        {
            "chance": 0.01,
            "output": {
                "item": "minecraft:apple"
            },
            "minRolls": 1,
            "maxRolls": 1
        },
        {
            "chance": 0.05,
            "output": {
                "item": "minecraft:oak_sapling"
            },
            "minRolls": 1,
            "maxRolls": 2
        }
    ]
})

})