{
    "format_version": "1.21.60",
    "minecraft:block": {
        "description": {
            "identifier": "farmersdelight:organic_compost",
            "menu_category": {
                "category": "nature"
            },
            "states": {
                "farmersdelight:process": [
                    0,
                    1,
                    2,
                    3,
                    4,
                    5,
                    6,
                    7
                ]
            }
        },
        "permutations": [
            {
                "condition": "query.block_state('farmersdelight:process') == 0 || query.block_state('farmersdelight:process') == 1",
                "components": {
                    "minecraft:material_instances": {
                        "*": {
                            "texture": "organic_compost_stage0"
                        }
                    }
                }
            },
            {
                "condition": "query.block_state('farmersdelight:process') == 2 || query.block_state('farmersdelight:process') == 3",
                "components": {
                    "minecraft:material_instances": {
                        "*": {
                            "texture": "organic_compost_stage1"
                        }
                    }
                }
            },
            {
                "condition": "query.block_state('farmersdelight:process') == 4 || query.block_state('farmersdelight:process') == 5",
                "components": {
                    "minecraft:material_instances": {
                        "*": {
                            "texture": "organic_compost_stage2"
                        }
                    }
                }
            },
            {
                "condition": "query.block_state('farmersdelight:process') == 6 || query.block_state('farmersdelight:process') == 7",
                "components": {
                    "minecraft:material_instances": {
                        "*": {
                            "texture": "organic_compost_stage3"
                        }
                    }
                }
            }
        ],
        "components": {
            "minecraft:custom_components": [
                "farmersdelight:organic_compost"
            ],
            "minecraft:destructible_by_mining": {
                "seconds_to_destroy": 0.6
            },
            "minecraft:destructible_by_explosion": {
                "explosion_resistance": 3
            },
            "minecraft:geometry": "geometry.block",
            
            "tag:dirt": {},
            "tag:compost_activators": {}
        }
    }
}