{
    "format_version": "1.16.0",
    "minecraft:block": {
        "description": {
            "identifier": "loled:bathroom_mirror",
            "properties": {
                "loled:face": [ 1, 2, 3, 4, 5, 6 ]
            }
        },
        "components": {
            "minecraft:material_instances": {
                "*": {
                    "texture": "mirror",
                    "render_method": "opaque"
                }
            },
            "minecraft:pick_collision": {
                "origin": [ -6.5, 2, -8 ],
                "size": [ 13, 16, 1 ]
            },
            "minecraft:entity_collision": {
                "origin": [ -6.5, 2, -8 ],
                "size": [ 13, 16, 1 ]
            },
			"minecraft:creative_category": {
              "group": "itemGroup.name.bathroom",
              "category": "construction"
            },
            "minecraft:loot": "loot_tables/bathroom/bathroom_mirror.json",
            "minecraft:geometry": "geometry.mirror",
            "minecraft:destroy_time": 1.0,
            "minecraft:block_light_absorption": 2.0,
            "minecraft:on_player_placing": {
                "event": "loled:place"
            },
            "minecraft:friction": 0.6,
            "minecraft:map_color": "#00ff00",
            "minecraft:flammable": {
                "flame_odds": 0,
                "burn_odds": 0
            },
            "minecraft:block_light_emission": 0.0
        },
        "events": {
            "loled:place": {
                "set_block_property": {
                    "loled:face": "(query.cardinal_player_facing)"
                }
            }
        },
        "permutations": [
            {
                "condition": "query.block_property('loled:face') == 2",
                "components": {
                    "minecraft:block_light_emission": 0.0
                }
            },
            {
                "condition": "query.block_property('loled:face') == 3",
                "components": {
                    "minecraft:rotation": [ 0, 180, 0 ]
                }
            },
            {
                "condition": "query.block_property('loled:face') == 4",
                "components": {
                    "minecraft:rotation": [ 0, 90, 0 ]
                }
            },
            {
                "condition": "query.block_property('loled:face') == 5",
                "components": {
                    "minecraft:rotation": [ 0, 270, 0 ]
                }
            }
        ]
    }
}