{
	"format_version": "1.21.60",
	"minecraft:block": {
		"description": {
			"identifier": "scpcf:broken_wall_monitor",
			"states": {
				"scpclassified:variant": [
					1,
					2,
					3,
					4,
					5,
					6
				]
			},
			"traits": {
				"minecraft:placement_direction": {
					"enabled_states": [
						"minecraft:cardinal_direction"
					],
					"y_rotation_offset": 180
				}
			}
		},
		"components": {
			"minecraft:custom_components": [
				"variant:block"
			],
			"minecraft:destructible_by_mining": {
                "seconds_to_destroy": 3,
                "item_specific_speeds": [
                    {
                        "item": { "tags": "query.any_tag('minecraft:is_pickaxe') && query.any_tag('minecraft:wooden_tier')" },
                        "destroy_speed": 2.5
                    },
					{
                        "item": { "tags": "query.any_tag('minecraft:is_pickaxe') && query.any_tag('minecraft:stone_tier')" },
                        "destroy_speed": 2.25
                    },
					{
                        "item": { "tags": "query.any_tag('minecraft:is_pickaxe') && query.any_tag('minecraft:iron_tier')" },
                        "destroy_speed": 1.75
                    },
					{
                        "item": { "tags": "query.any_tag('minecraft:is_pickaxe') && query.any_tag('minecraft:golden_tier')" },
                        "destroy_speed": 1
                    },
					{
                        "item": { "tags": "query.any_tag('minecraft:is_pickaxe') && query.any_tag('minecraft:diamond_tier')" },
                        "destroy_speed": 1.5
                    },
					{
                        "item": { "tags": "query.any_tag('minecraft:is_pickaxe') && query.any_tag('minecraft:netherite_tier')" },
                        "destroy_speed": 1.25
                    }
                ]
            },
			"minecraft:destructible_by_explosion": {
				"explosion_resistance": 0
			},
			"minecraft:collision_box": {
				"origin": [
					-8,
					2.7,
					4
				],
				"size": [
					16,
					12,
					4
				]
			},
			"minecraft:selection_box": {
				"origin": [
					-8,
					2.7,
					4
				],
				"size": [
					16,
					12,
					4
				]
			},
			"minecraft:geometry": {
				"identifier": "geometry.scpclassifiedbrokenwallmonitor"
			},
			"minecraft:liquid_detection": {
				"detection_rules": [
					{
						"can_contain_liquid": true
					}
				]
			},
			"minecraft:light_dampening": 5
		},
		"permutations": [
			{
				"condition": "q.block_state('minecraft:cardinal_direction') == 'north'",
				"components": {
					"minecraft:transformation": {
						"rotation": [
							0,
							0,
							0
						]
					}
				}
			},
			{
				"condition": "q.block_state('minecraft:cardinal_direction') == 'south'",
				"components": {
					"minecraft:transformation": {
						"rotation": [
							0,
							180,
							0
						]
					}
				}
			},
			{
				"condition": "q.block_state('minecraft:cardinal_direction') == 'east'",
				"components": {
					"minecraft:transformation": {
						"rotation": [
							0,
							-90,
							0
						]
					}
				}
			},
			{
				"condition": "q.block_state('minecraft:cardinal_direction') == 'west'",
				"components": {
					"minecraft:transformation": {
						"rotation": [
							0,
							90,
							0
						]
					}
				}
			},
			{
				"condition": "query.block_state('scpclassified:variant') == 1",
				"components": {
					"minecraft:material_instances": {
						"*": {
							"texture": "scpclassifiedIwallmonitorbroken",
							"render_method": "alpha_test"
						}
					},
					"minecraft:map_color": "#21242e"
				}
			},
			{
				"condition": "query.block_state('scpclassified:variant') == 2",
				"components": {
					"minecraft:material_instances": {
						"*": {
							"texture": "scpclassifiedIwallmonitortexturebroken1",
							"render_method": "alpha_test"
						}
					},
					"minecraft:light_emission": 2,
					"minecraft:map_color": "#e53b44"
				}
			},
			{
				"condition": "query.block_state('scpclassified:variant') == 3",
				"components": {
					"minecraft:material_instances": {
						"*": {
							"texture": "scpclassifiedIwallmonitortexturebroken2",
							"render_method": "alpha_test"
						}
					},
					"minecraft:light_emission": 2,
					"minecraft:map_color": "#e53b44"
				}
			},
			{
				"condition": "query.block_state('scpclassified:variant') == 4",
				"components": {
					"minecraft:material_instances": {
						"*": {
							"texture": "scpclassifiedIwallmonitortexturebroken3",
							"render_method": "alpha_test"
						}
					},
					"minecraft:light_emission": 2,
					"minecraft:map_color": "#afbfd2"
				}
			},
			{
				"condition": "query.block_state('scpclassified:variant') == 5",
				"components": {
					"minecraft:material_instances": {
						"*": {
							"texture": "scpclassifiedIwallmonitortexturebroken4",
							"render_method": "alpha_test"
						}
					},
					"minecraft:light_emission": 2,
					"minecraft:map_color": "#e53b44"
				}
			},
			{
				"condition": "query.block_state('scpclassified:variant') == 6",
				"components": {
					"minecraft:material_instances": {
						"*": {
							"texture": "scpclassifiedIwallmonitortexturebroken5",
							"render_method": "alpha_test"
						}
					},
					"minecraft:light_emission": 2,
					"minecraft:map_color": "#afbfd2"
				}
			}
		]
	}
}