{
    "format_version": "1.21.50",
    "minecraft:block": {
        "description": {
            "identifier": "sg_vtng:creative_generator",
            "states": {
                "sg_vtng:hidden": [ false, true ],
                "sg_vtng:is_generating": [ true, false ]
            },
            "traits": {
                "minecraft:placement_direction": {
                    "enabled_states": [ "minecraft:facing_direction" ]
                }
            }
        },
        "components": {
            "minecraft:custom_components": ["sg_vtng:rpm_initialize", "sg_vtng:interactBlock"],
            "minecraft:material_instances": {
                "*": {
                    "texture": "sg_vtng:creative_generator",
                    "render_method": "alpha_test",
                    "ambient_occlusion": false
                }
            },
            "minecraft:collision_box": {
                "origin": [ -8, 0, -8 ],
                "size": [ 16, 15, 16 ]
            },
            "minecraft:selection_box": {
                "origin": [ -8, 0, -8 ],
                "size": [ 16, 15, 16 ]
            },
            "minecraft:geometry": {
                "identifier": "geometry.sg_vtng.creative_generator",
                "bone_visibility": {
                    "main": "q.block_state('sg_vtng:hidden') == false"
                }
            },
            "minecraft:transformation": { "rotation": [ 0, 180, 0 ] },
            "minecraft:destructible_by_mining": { "seconds_to_destroy": 9999 },
            "minecraft:light_dampening": 0,
            "minecraft:map_color": "#fce88a",
            "tag:minecraft:is_pickaxe_item_destructible":{}
        },
        "permutations": [
            {
                "condition": "q.block_state('minecraft:facing_direction') == 'north'",
                "components": {
                    "minecraft:transformation": {
                        "rotation": [ 0, 180, 0 ]
                    }
                }
            },
            {
                "condition": "q.block_state('minecraft:facing_direction') == 'south'",
                "components": {
                    "minecraft:transformation": {
                        "rotation": [ 0, 0, 0 ]
                    }
                }
            },
            {
                "condition": "q.block_state('minecraft:facing_direction') == 'east'",
                "components": {
                    "minecraft:transformation": {
                        "rotation": [ 0, 90, 0 ]
                    }
                }
            },
            {
                "condition": "q.block_state('minecraft:facing_direction') == 'west'",
                "components": {
                    "minecraft:transformation": {
                        "rotation": [ 0, -90, 0 ]
                    }
                }
            },
            {
                "condition": "q.block_state('minecraft:facing_direction') == 'up'",
                "components": {
                    "minecraft:transformation": {
                        "rotation": [ -90, 0, 0 ]
                    }
                }
            },
            {
                "condition": "q.block_state('minecraft:facing_direction') == 'down' && q.block_state('sg_vtng:hidden') == true",
                "components": {
                    "minecraft:transformation": {
                        "rotation": [ 90, 0, 0 ]
                    }
                }
            }
        ]
    }
}