{
	"format_version": "1.19.30",
	"minecraft:entity": {
		"description": {
			"identifier": "iron_furnaces:furnace_container",
			"is_summonable": true,
			"is_spawnable": false,
			"is_experimental": false
		},
		"components": {
			"minecraft:nameable": {
				"allow_name_tag_renaming": false,
				"always_show": false
			},
			"minecraft:type_family": {
				"family": [
					"furnace",
					"inanimate"
				]
			},
            "minecraft:inventory": {
                "inventory_size": 5,
                "container_type": "inventory"
            },
			"minecraft:fire_immune": true,
			"minecraft:damage_sensor": {
				"triggers": [
					{
						"cause": "all",
						"deals_damage": false
					}
				]
			},
			"minecraft:health": {
				"value": 1,
				"max": 1,
				"min": 1
			},
			"minecraft:knockback_resistance": {
				"value": 1,
				"max": 1
			},
            "minecraft:inside_block_notifier": {
                "block_list": [
                    {
                        "block": {
                            "name": "air"
                        },
                        "entered_block_event": {
                            "event": "iron_furnaces:remove",
                            "target": "self"
                        }
                    }
                ]
            },
			"minecraft:timer": {
				"time": 0.1,
				"looping": true,
				"time_down_event": {
					"event": "event:ticking",
					"target": "self"
				}
			},
			"minecraft:collision_box": {
				"height": 0,
				"width": 0
			},
			"minecraft:custom_hit_test": {
				"hitboxes": [
					{
						"width": 1,
						"height": 0.30,
						"pivot": [
							0,
							0.5,
							0
						]
					}
				]
			}
		},
		"events": {
			"minecraft:entity_spawned": {
				"queue_command": {
					"command": [
						"scoreboard objectives add arrowScore dummy",
						"scoreboard players add @s arrowScore 0",
						"scoreboard objectives add arrowTick dummy",
						"scoreboard players add @s arrowTick 0",
						"scoreboard objectives add fuelScore dummy",
						"scoreboard players add @s fuelScore 0",
						"scoreboard objectives add fuelScoreTick dummy",
						"scoreboard players add @s fuelScoreTick 0",
						"scoreboard objectives add fuelScoreAmount dummy",
						"scoreboard players add @s fuelScoreAmount 0",
						"scoreboard objectives add tickNumber dummy",
						"scoreboard players add @s tickNumber 0"
					]
				}
			},
			"event:ticking": {
				"queue_command": {
					"command": "scriptevent iron_furnaces:furnace_system"
				}
			},
            "iron_furnaces:remove": {
                "queue_command": {
                    "command": "scriptevent iron_furnaces:despawn"
                }
            }
		}
	}
}