{
	"format_version": "1.20.80",
	"minecraft:block": {
		"description": {
			"identifier": "v360:copper_campfire",
			"menu_category": {
				"category": "none",
				"group": "none",
				"is_hidden_in_commands": false
			},
			"states": {
				"v360:extinguished": [
					false,
					true
				]
			},
			"traits": {
				"minecraft:placement_direction": {
					"enabled_states": [
						"minecraft:cardinal_direction"
					]
				}
			}
		},
		"components": {
			"minecraft:geometry": "geometry.campfire",
			"minecraft:collision_box": {
				"size": [
					16,
					6,
					16
				],
				"origin": [
					-8,
					0,
					-8
				]
			},
			"minecraft:selection_box": {
				"size": [
					16,
					6,
					16
				],
				"origin": [
					-8,
					0,
					-8
				]
			},
			"minecraft:map_color": "#00C700",
			"minecraft:flammable": false,
			"minecraft:light_dampening": 0,
			"minecraft:loot": "loot_tables/copper_campfire.json",
			"tag:v360:wood": {},
			"tag:wood": {}
		},
		"permutations": [
			{
				"condition": "query.block_state('minecraft:cardinal_direction') == 'north' || query.block_state('minecraft:cardinal_direction') == 'south'",
				"components": {
					"minecraft:transformation": {
						"rotation": [
							0,
							0,
							0
						]
					}
				}
			},
			{
				"condition": "query.block_state('minecraft:cardinal_direction') == 'west' || query.block_state('minecraft:cardinal_direction') == 'east'",
				"components": {
					"minecraft:transformation": {
						"rotation": [
							0,
							90,
							0
						]
					}
				}
			},
			{
				"condition": "query.block_state('v360:extinguished') == false",
				"components": {
					"minecraft:light_emission": 15,
					"minecraft:tick": {
						"interval_range": [
							2,
							16
						]
					},
					"minecraft:custom_components": [
						"v360:copper_campfire_lit"
					],
					"minecraft:material_instances": {
						"*": {
							"texture": "copper_campfire_lit",
							"render_method": "alpha_test",
							"ambient_occlusion": false,
							"face_dimming": false
						}
					},
					"tag:v360:copper_campfire_lit": {}
				}
			},
			{
				"condition": "query.block_state('v360:extinguished') == true",
				"components": {
					"minecraft:material_instances": {
						"*": {
							"texture": "campfire_unlit",
							"render_method": "alpha_test",
							"ambient_occlusion": true,
							"face_dimming": true
						}
					},
					"minecraft:custom_components": [
						"v360:copper_campfire_unlit"
					],
					"minecraft:light_emission": 0
				}
			}
		]
	}
}