{
  "format_version": "1.16.0",
  "minecraft:entity": {
    "description": {
      "identifier": "vatonage:boss_loot_drop4",
      "is_spawnable": true,
      "is_summonable": true,
      "is_experimental": false,
         "runtime_identifier":"minecraft:ender_crystal"
    },
    "component_groups": {
    },
    "events": {
      "minecraft:vinteract_event": {
            "run_command": {
               "command": [
                  "give @p vatonage:tower_wand",
                  "kill @s"
               ]
            }
      }
    },
    "components": {
      "minecraft:interact": {
        "interactions": {
          "on_interact": {
            "filters": {
              "all_of": [
                { "test": "is_family", "subject": "other", "value": "player" },
                { "test": "has_equipment", "domain": "hand", "operator": "!=", "subject": "other", "value": "barrier" },
                { "test": "has_component", "operator": "!=", "value": "minecraft:vinteract" }
              ]
            },
          "event": "minecraft:vinteract_event",
          "target": "self"
          },
          "swing": true,
          "play_sounds": "",
          "interact_text": "Interact"
        }
      },
      "minecraft:physics": {
      },
                "minecraft:scale": {
                    "value": 3.0
                },
      "minecraft:collision_box": {
        "width": 1,
        "height": 1
      }
    }
  }
}