{
    "format_version": "1.16.0",
    "minecraft:block": {
        "description": {
            "identifier": "furnicraft:muebletv_morado",
            "properties": {
                "furnicraft:face": [ 1, 2, 3, 4, 5 ]
            }
        },
        "components": {
		    "minecraft:creative_category": {
            "group": "itemGroup.name.furnicraft_muebletv",
            "category": "items"
		    },
            "minecraft:material_instances": {
                "*": {
                    "texture": "muebletv_morado",
                    "render_method": "alpha_test"
                }
            },
            "minecraft:pick_collision": {
                "origin": [ -8, 0, -8 ],
                "size": [ 16, 16, 16 ]
            },
            "minecraft:geometry": "geometry.tv_base2",
            "minecraft:on_player_placing": {
                "event": "furnicraft:rotate"
            },
            "minecraft:destroy_time": 1.0,
            "minecraft:friction": 0.6,
            "minecraft:map_color": "#00ff00",
            "minecraft:flammable": {
                "flame_odds": 0,
                "burn_odds": 0
            },
            "minecraft:block_light_absorption": 0.5,
            "minecraft:block_light_emission": 0.2
        },
        "events": {
            "furnicraft:rotate": {
                "set_block_property": {
                    "furnicraft:face": "(query.cardinal_player_facing)"
                }
            }
        },
        "permutations": [
            {
                "condition": "query.block_property('furnicraft:face') == 2",
                "components": {
                    "minecraft:block_light_emission": 0.0
                }
            },
            {
                "condition": "query.block_property('furnicraft:face') == 3",
                "components": {
                    "minecraft:rotation": [ 0, 180, 0 ]
                }
            },
            {
                "condition": "query.block_property('furnicraft:face') == 4",
                "components": {
                    "minecraft:rotation": [ 0, 90, 0 ]
                }
            },
            {
                "condition": "query.block_property('furnicraft:face') == 5",
                "components": {
                    "minecraft:rotation": [ 0, 270, 0 ]
                }
            }
        ]
    }
}
