ServerEvents.recipes(event => {

    event.custom({
        "type": "lychee:random_block_ticking",
        "contextual": [
            {
                "type": "chance",
                "chance": 0.00001
            }
        ],
        "post": [
            {
                "type": "random",
                "entries": [
                    {
                        "type": "execute",
                        "weight": 1,
                        "command": "execute if block ~ ~-1 ~ minecraft:grass_block run setblock ~ ~ ~ wandering_wares:crate",
                        "hide": true
                    },
                    {
                        "type": "place",
                        "weight": 2,
                        "block": {
                            "blocks": [
                                "minecraft:acacia_sapling"
                            ]
                        }
                    }
                ]
            }
        ],
        "block_in": {
            "blocks": [
                "minecraft:acacia_sapling"
            ]
        }
    })
        .id('lychee:overworld/acacia_wandering_crate')

    event.custom({
        "type": "lychee:random_block_ticking",
        "contextual": [
            {
                "type": "chance",
                "chance": 0.00001
            }
        ],
        "post": [
            {
                "type": "random",
                "entries": [
                    {
                        "type": "execute",
                        "weight": 1,
                        "command": "execute if block ~ ~-1 ~ minecraft:grass_block run setblock ~ ~ ~ wandering_wares:crate",
                        "hide": true
                    },
                    {
                        "type": "place",
                        "weight": 2,
                        "block": {
                            "blocks": [
                                "minecraft:birch_sapling"
                            ]
                        }
                    }
                ]
            }
        ],
        "block_in": {
            "blocks": [
                "minecraft:birch_sapling"
            ]
        }
    })
        .id('lychee:overworld/birch_wandering_crate')

    event.custom({
        "type": "lychee:random_block_ticking",
        "contextual": [
            {
                "type": "chance",
                "chance": 0.00001
            }
        ],
        "post": [
            {
                "type": "random",
                "entries": [
                    {
                        "type": "execute",
                        "weight": 1,
                        "command": "execute if block ~ ~-1 ~ minecraft:grass_block run setblock ~ ~ ~ wandering_wares:crate",
                        "hide": true
                    },
                    {
                        "type": "place",
                        "weight": 2,
                        "block": {
                            "blocks": [
                                "minecraft:dark_oak_sapling"
                            ]
                        }
                    }
                ]
            }
        ],
        "block_in": {
            "blocks": [
                "minecraft:dark_oak_sapling"
            ]
        }
    })
        .id('lychee:overworld/dark_oak_wandering_crate')

    event.custom({
        "type": "lychee:random_block_ticking",
        "contextual": [
            {
                "type": "chance",
                "chance": 0.00001
            }
        ],
        "post": [
            {
                "type": "random",
                "entries": [
                    {
                        "type": "execute",
                        "weight": 1,
                        "command": "execute if block ~ ~-1 ~ minecraft:grass_block run setblock ~ ~ ~ wandering_wares:crate",
                        "hide": true
                    },
                    {
                        "type": "place",
                        "weight": 2,
                        "block": {
                            "blocks": [
                                "minecraft:jungle_sapling"
                            ]
                        }
                    }
                ]
            }
        ],
        "block_in": {
            "blocks": [
                "minecraft:jungle_sapling"
            ]
        }
    })
        .id('lychee:overworld/jungle_wandering_crate')

    event.custom({
        "type": "lychee:random_block_ticking",
        "contextual": [
            {
                "type": "chance",
                "chance": 0.00001
            }
        ],
        "post": [
            {
                "type": "random",
                "entries": [
                    {
                        "type": "execute",
                        "weight": 1,
                        "command": "execute if block ~ ~-1 ~ minecraft:grass_block run setblock ~ ~ ~ wandering_wares:crate",
                        "hide": true
                    },
                    {
                        "type": "place",
                        "weight": 2,
                        "block": {
                            "blocks": [
                                "minecraft:oak_sapling"
                            ]
                        }
                    }
                ]
            }
        ],
        "block_in": {
            "blocks": [
                "minecraft:oak_sapling"
            ]
        }
    })
        .id('lychee:overworld/oak_wandering_crate')

    event.custom({
        "type": "lychee:random_block_ticking",
        "contextual": [
            {
                "type": "chance",
                "chance": 0.00001
            }
        ],
        "post": [
            {
                "type": "random",
                "entries": [
                    {
                        "type": "execute",
                        "weight": 1,
                        "command": "execute if block ~ ~-1 ~ minecraft:grass_block run setblock ~ ~ ~ wandering_wares:crate",
                        "hide": true
                    },
                    {
                        "type": "place",
                        "weight": 2,
                        "block": {
                            "blocks": [
                                "minecraft:cherry_sapling"
                            ]
                        }
                    }
                ]
            }
        ],
        "block_in": {
            "blocks": [
                "minecraft:cherry_sapling"
            ]
        }
    })
        .id('lychee:overworld/cherry_wandering_crate')

    event.custom({
        "type": "lychee:random_block_ticking",
        "contextual": [
            {
                "type": "chance",
                "chance": 0.00001
            }
        ],
        "post": [
            {
                "type": "random",
                "entries": [
                    {
                        "type": "execute",
                        "weight": 1,
                        "command": "execute if block ~ ~-1 ~ minecraft:grass_block run setblock ~ ~ ~ wandering_wares:crate",
                        "hide": true
                    },
                    {
                        "type": "place",
                        "weight": 2,
                        "block": {
                            "blocks": [
                                "minecraft:spruce_sapling"
                            ]
                        }
                    }
                ]
            }
        ],
        "block_in": {
            "blocks": [
                "minecraft:spruce_sapling"
            ]
        }
    })
        .id('lychee:overworld/spruce_wandering_crate')

    event.custom({
        "type": "lychee:random_block_ticking",
        "contextual": [
            {
                "type": "chance",
                "chance": 0.00001
            }
        ],
        "post": [
            {
                "type": "random",
                "entries": [
                    {
                        "type": "execute",
                        "weight": 1,
                        "command": "execute if block ~ ~-1 ~ minecraft:grass_block run setblock ~ ~ ~ wandering_wares:crate",
                        "hide": true
                    },
                    {
                        "type": "place",
                        "weight": 2,
                        "block": {
                            "blocks": [
                                "minecraft:mangrove_propagule"
                            ]
                        }
                    }
                ]
            }
        ],
        "block_in": {
            "blocks": [
                "minecraft:mangrove_propagule"
            ]
        }
    })
        .id('lychee:overworld/mangrove_wandering_crate')
})