{
  "format_version": "1.20.50",
  "minecraft:block": {
    "description": {
      "identifier": "nicothekid:evaporator_iron_rotten_flesh_3",
      "menu_category": {
				"category": "none",
				"group": "none"
			}
    },
    "components": {
      "minecraft:material_instances": {
        "*": {
          "texture": "nicothekid_evaporator_iron_rotten_flesh_3",
          "render_method": "alpha_test"
        }
      },
      "minecraft:geometry": "geometry.block.nicothekid_evaporator",
      "minecraft:map_color": "#686868",
      "minecraft:breathability": "air",
      "minecraft:collision_box": {
        "origin": [ -8, 0, -8 ],
        "size": [ 16, 10, 16 ]
      },
      "minecraft:selection_box": {
        "origin": [ -8, 0, -8 ],
        "size": [ 16, 10, 16 ]
      },
      "minecraft:light_dampening": 0,
      "minecraft:light_emission": 0,
      "minecraft:friction": 0.4,
      "minecraft:flammable": false,
      "minecraft:destructible_by_explosion": {
        "explosion_resistance": 30.0
      },
      "minecraft:destructible_by_mining": {
        "seconds_to_destroy": 0.6
      },
      "minecraft:loot": "loot_tables/nicos_item_expansion/blocks/nicothekid_evaporator_iron_rotten_flesh_3.json",
      "minecraft:on_interact": {
        "event": "nicothekid:evaporator_iron_rotten_flesh_3_interact"
      },
      "minecraft:queued_ticking": {
        "looping": false,
        "interval_range": [ 1500, 1500 ],
        "on_tick": {
          "event": "nicothekid:evaporator_rotten_flesh_3_to_leather_scrap_3",
          "target": "self"
        }
      },
      
      "tag:evaporator_iron": {},
      "tag:stone": {},
      "tag:metal": {}
    },
    "events": {
      "nicothekid:evaporator_iron_rotten_flesh_3_interact": {
				"sequence": [
					{
						"condition": "query.get_equipped_item_name('main_hand') != 'rotten_flesh' &&! q.is_sneaking",
						"trigger": {
							"event": "nicothekid:evaporator_iron_rotten_flesh_3_interact_none",
							"target": "self"
						}
					},
					{
						"condition": "query.get_equipped_item_name('main_hand') == 'rotten_flesh'",
						"trigger": {
							"event": "nicothekid:evaporator_iron_rotten_flesh_3_interact_rotten_flesh",
							"target": "self"
						}
					}
				]
			},
      "nicothekid:evaporator_iron_rotten_flesh_3_interact_none": {
				"sequence": [
					{
						"run_command": {
							"command": [
								"playsound cake.add_candle @a[r=10]"
							]
						}
					},
					{
						"spawn_loot": {
							"table": "loot_tables/nicos_item_expansion/event/nicothekid_rotten_flesh_3.json"
						}
					},
					{
						"trigger": {
							"event": "nicothekid:evaporator_iron_rotten_flesh_3_to_empty"
						}
					}
				]
			},
      "nicothekid:evaporator_iron_rotten_flesh_3_interact_rotten_flesh": {
				"sequence": [
					{
						"run_command": {
							"command": [
								"playsound block.click.fail @a[r=10]"
							]
						}
					}
				]
			},
			"nicothekid:evaporator_iron_rotten_flesh_3_to_empty": {
        "set_block": {
					"block_type": "nicothekid:evaporator_iron_empty"
				}
      },
      "nicothekid:evaporator_rotten_flesh_3_to_leather_scrap_3": {
        "set_block": {
					"block_type": "nicothekid:evaporator_iron_leather_scrap_3"
				}
      }
    }
  }
}
