ServerEvents.recipes(event => {

    //jungle
    event.custom({
        "type": "lychee:random_block_ticking",
        "hide_in_viewer": true,
        "contextual": [
            {
                "type": "location",
                "predicate": {
                    "dimension": "drp:jungle",
                    "light": {
                        "light": {
                            "min": 7,
                            "max": 15
                        }
                    }
                }
            },
            {
                "type": "chance",
                "chance": 0.0065
            }
        ],
        "post": [
            {
                "type": "place",
                "block": {
                    "blocks": [
                        "minecraft:air"
                    ]
                }
            },
            {
                "type": "random",
                "entries": [
                    {
                        "type": "execute",
                        "weight": 4,
                        "command": "place feature minecraft:jungle_tree ~ ~ ~",
                        "hide": true
                    },
                    {
                        "type": "execute",
                        "weight": 3,
                        "command": "place feature minecraft:jungle_bush ~ ~ ~",
                        "hide": true
                    },
                    {
                        "type": "execute",
                        "weight": 2,
                        "command": "place feature minecraft:jungle_tree_no_vine ~ ~ ~",
                        "hide": true
                    },
                    {
                        "type": "execute",
                        "weight": 1,
                        "command": "place feature minecraft:mega_jungle_tree ~ ~ ~",
                        "hide": true
                    }
                ]
            }
        ],
        "block_in": {
            "blocks": [
                "minecraft:jungle_sapling"
            ]
        }
    })
        .id('lychee:overworld/jungle_growing')

})