{
	"format_version": "1.21.60",
	"minecraft:block": {
		"description": {
			"identifier": "scpcf:box",
			"traits": {
				"minecraft:placement_direction": {
					"enabled_states": [
						"minecraft:cardinal_direction"
					],
					"y_rotation_offset": 180
				}
			}
		},
		"components": {
            "minecraft:destructible_by_mining": {
                "seconds_to_destroy": 0.5,
                "item_specific_speeds": [
                    {
                        "item": { "tags": "query.any_tag('minecraft:is_pickaxe') && query.any_tag('minecraft:wooden_tier')" },
                        "destroy_speed": 0.45
                    },
					{
                        "item": { "tags": "query.any_tag('minecraft:is_pickaxe') && query.any_tag('minecraft:stone_tier')" },
                        "destroy_speed": 0.4
                    },
					{
                        "item": { "tags": "query.any_tag('minecraft:is_pickaxe') && query.any_tag('minecraft:iron_tier')" },
                        "destroy_speed": 0.35
                    },
					{
                        "item": { "tags": "query.any_tag('minecraft:is_pickaxe') && query.any_tag('minecraft:golden_tier')" },
                        "destroy_speed": 0.1
                    },
					{
                        "item": { "tags": "query.any_tag('minecraft:is_pickaxe') && query.any_tag('minecraft:diamond_tier')" },
                        "destroy_speed": 0.20
                    },
					{
                        "item": { "tags": "query.any_tag('minecraft:is_pickaxe') && query.any_tag('minecraft:netherite_tier')" },
                        "destroy_speed": 0.15
                    }
                ]
            },
			"minecraft:destructible_by_explosion": {
				"explosion_resistance": 0
			},
			"minecraft:flammable":{
				"catch_chance_modifier": 10,
				"destroy_chance_modifier": 40
			},
			"minecraft:material_instances": {
				"up": {
					"texture": "scpclassifiedIboxtexturetop",
					"render_method": "opaque"
				},
				"north": {
					"texture": "scpclassifiedIboxtexturefrontback",
					"render_method": "opaque"
				},
				"south": {
					"texture": "scpclassifiedIboxtexturefrontback",
					"render_method": "opaque"
				},
				"east": {
					"texture": "scpclassifiedIboxtextureside",
					"render_method": "opaque"
				},
				"west": {
					"texture": "scpclassifiedIboxtextureside",
					"render_method": "opaque"
				},
				"down": {
					"texture": "scpclassifiedIboxtexturebottom",
					"render_method": "opaque"
				}
			},
			"minecraft:geometry": {
				"identifier": "minecraft:geometry.full_block"
			},
			"minecraft:map_color": "#82614b",
			"minecraft:liquid_detection": {
				"detection_rules": [
					{
						"can_contain_liquid": true,
						"on_liquid_touches": "popped"
					}
				]
			},
			"minecraft:light_dampening": 0
		},
		"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
						]
					}
				}
			}
		]
	}
}