{
   "format_version": "1.16.100",
   "minecraft:block": {
      "description": {
         "identifier": "vatonage:boss_spawn_block3",
         "register_to_creative_menu": true
      },
      "components": {
         "minecraft:material_instances": {
            "*": {
               "texture": "boss_spawn_block3",
               "render_method": "alpha_test"
            }
         },
         "minecraft:geometry": "geometry.boss_spawn_block",
         "minecraft:pick_collision": {
             "origin":  [-8, 0, -8],
             "size":    [16, 8, 16]
         },
         "minecraft:entity_collision": {
             "origin":  [-8, 0, -8],
             "size":    [16, 8, 16]
         },
         "minecraft:destroy_time": 500,
         "minecraft:block_light_absorption": 0,
         "minecraft:on_interact": {
            "event": "vatonage:generate"
         }
      },
      "events": {
         "vatonage:generate": {
                     "run_command": {
                         "command": [
                                    "setblock ~ ~ ~ vatonage:legendary_lootcrate",
                                    "summon vatonage:tower_melter ~ ~10 ~",
                                    "summon vatonage:lava_summon ~ ~-5 ~"
                                    ]
                     }
         }
      }
   }
}