{
  "description": "Warping...",
  "supported_items": "minecraft:bow",
  "weight": 1,
  "max_level": 1,
  "min_cost": {
    "base": 9999,
    "per_level_above_first": 999
  },
  "max_cost": {
    "base": 9999,
    "per_level_above_first": 9999
  },
  "anvil_cost": 9999,
  "slots": [
    "any"
  ],
  "effects": {
    "minecraft:post_attack": [
      {
        "requirements": [
          {
            "condition": "minecraft:entity_properties",
            "entity": "attacker",
            "predicate": {
              "type_specific": {
                "type": "minecraft:player",
                "input": {
                  "sneak": true
                }
              }
            }
          },
          {
            "condition": "minecraft:damage_source_properties",
            "predicate": {
              "tags": [
                {
                  "id": "mt:arrow",
                  "expected": true
                }
              ]
            }
          }
        ],
        "effect": {
          "type": "minecraft:all_of",
          "effects": [
            {
              "type": "minecraft:run_function",
              "function": "mt:items/weapons/warped_bow/hit"
            },
            {
              "type": "minecraft:play_sound",
              "sound": {
                "sound_id": "minecraft:entity.enderman.teleport",
                "range": 15
              },
              "volume": 0.5,
              "pitch": 1
            }
          ]
        },
        "enchanted": "attacker",
        "affected": "victim"
      }
    ]
  }
}