{
	"format_version": "1.21.60",
	"minecraft:block": {
		"description": {
			"identifier": "scpcf:metal_pipe",
			"traits": {
				"minecraft:placement_position": {
					"enabled_states": [
						"minecraft:block_face"
					]
				}
			}
		},
		"components": {
			"minecraft:destructible_by_mining": {
				"seconds_to_destroy": 8
			},
			"minecraft:destructible_by_explosion": {
				"explosion_resistance": 5
			},
			"minecraft:collision_box": {
				"origin": [
					-8,
					0,
					-8
				],
				"size": [
					16,
					16,
					16
				]
			},
			"minecraft:selection_box": {
				"origin": [
					-8,
					0,
					-8
				],
				"size": [
					16,
					16,
					16
				]
			},
			"minecraft:material_instances": {
				"up": {
					"texture": "scpclassifiedIpipeblockend",
					"render_method": "opaque"
				},
				"north": {
					"texture": "scpclassifiedIpipeblockside",
					"render_method": "opaque"
				},
				"south": {
					"texture": "scpclassifiedIpipeblockside",
					"render_method": "opaque"
				},
				"east": {
					"texture": "scpclassifiedIpipeblockside",
					"render_method": "opaque"
				},
				"west": {
					"texture": "scpclassifiedIpipeblockside",
					"render_method": "opaque"
				},
				"down": {
					"texture": "scpclassifiedIpipeblockend",
					"render_method": "opaque"
				}
			},
			"minecraft:geometry": {
				"identifier": "minecraft:geometry.full_block"
			},
			"minecraft:map_color": "#56585b",
			"minecraft:light_dampening": 15
		},
		"permutations": [
			{
				"condition": "q.block_state('minecraft:block_face') == 'down'",
				"components": {
					"minecraft:transformation": {
						"rotation": [
							0,
							0,
							-180
						]
					}
				}
			},
			{
				"condition": "q.block_state('minecraft:block_face') == 'up'",
				"components": {
					"minecraft:transformation": {
						"rotation": [
							0,
							0,
							0
						]
					}
				}
			},
			{
				"condition": "q.block_state('minecraft:block_face') == 'north'",
				"components": {
					"minecraft:transformation": {
						"rotation": [
							-90,
							0,
							0
						]
					}
				}
			},
			{
				"condition": "q.block_state('minecraft:block_face') == 'west'",
				"components": {
					"minecraft:transformation": {
						"rotation": [
							0,
							0,
							90
						]
					}
				}
			},
			{
				"condition": "q.block_state('minecraft:block_face') == 'south'",
				"components": {
					"minecraft:transformation": {
						"rotation": [
							90,
							0,
							0
						]
					}
				}
			},
			{
				"condition": "q.block_state('minecraft:block_face') == 'east'",
				"components": {
					"minecraft:transformation": {
						"rotation": [
							0,
							0,
							-90
						]
					}
				}
			}
		]
	}
}