{
	"format_version": "1.19.40",
	"minecraft:block": {
		"description": {
			"identifier": "bridge:damaged_tornado_radar_block",
			"menu_category": {
				"category": "none"
			}
		},
		"components": {
			"minecraft:geometry": "geometry.decoy_block",
			"minecraft:light_dampening": 15,
			"minecraft:material_instances": {
				"*": {
					"texture": "damaged_tornado_radar_block",
					"ambient_occlusion": false,
					"render_method": "alpha_test"
				}
			},
			"minecraft:loot": "loot_tables/damaged_tornado_radar_block.json",
			"minecraft:destructible_by_mining": {
				"seconds_to_destroy": 0.18
			},
			"minecraft:on_interact": {
				"condition": "query.get_equipped_item_name=='iron_ingot'",
				"event": "FixRadar"
			}
		},
		"events": {
			"FixRadar": {
				"randomize": [
					{
						"weight": 0.92,
						"condition": "query.get_equipped_item_name == 'iron_ingot'",
						"decrement_stack": {
							"ignore_game_mode": false
						}
					},
					{
						"weight": 0.08,
						"condition": "query.get_equipped_item_name == 'iron_ingot'",
						"decrement_stack": {
							"ignore_game_mode": false
						},
						"set_block": {
							"block_type": "bridge:tornado_radar_block"
						}
					}
				]
			}
		}
	}
}