{
	"format_version": "1.20.20",
	"minecraft:block": {
		"description": {
			"identifier": "vatonage:hall_carpet",
			"menu_category": {
				"category": "none"
			},
			"traits": {
				"minecraft:placement_direction": {
					"enabled_states": ["minecraft:cardinal_direction"]
				}
			}
		},
		"components": {
			"minecraft:collision_box": {
				"origin": [-8, 0, -8],
				"size": [16, 1, 16]
			},
			"minecraft:selection_box": {
				"origin": [-8, 0, -8],
				"size": [16, 1, 16]
			},
			"minecraft:destructible_by_mining": {
				"seconds_to_destroy": 0.3
			},
			"minecraft:destructible_by_explosion": {
				"explosion_resistance": 14
			},
            "minecraft:display_name": "%vatonage.hall_carpet.name\n§8§oStone Factory§r",
			"minecraft:geometry": "geometry.hall_carpet",
			"minecraft:material_instances": {
				"*": {
					"texture": "hall_carpet",
					"render_method": "alpha_test"
				}
			},
			"minecraft:light_dampening": 0,
			"minecraft:map_color": "#f61f1f"
		},
		"permutations": [
			{
				"condition": "q.block_state('minecraft:cardinal_direction') == 'north' ",
				"components": {
					"minecraft:transformation": {
						"rotation": [0, 180, 0]
					}
				}
			},
			{
				"condition": "q.block_state('minecraft:cardinal_direction') == 'south' ",
				"components": {
					"minecraft:transformation": {
						"rotation": [0, 0, 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, 270, 0]
					}
				}
			}
		]
	}
}