{
  "description": {
    "translate": "",
    "fallback": "Lose Garbage"
  },
  "supported_items": "#minecraft:chest_armor",
    "weight": 1,
    "max_level": 1,
    "min_cost": {
      "base": 999999,
      "per_level_above_first": 999
    },
    "max_cost": {
      "base": 999999,
      "per_level_above_first": 9999
    },
    "anvil_cost": 9999,
  "slots": [
    "chest"
  ],
  "effects": {
    "minecraft:post_attack": [
      {
        "requirements": [
          {
            "condition": "minecraft:random_chance",
            "chance": 0.15
          }
        ],
        "effect": {
          "type": "minecraft:all_of",
          "effects": [
            {
              "type": "minecraft:play_sound",
              "sound": "item.axe.scrape",
              "volume": 0.25,
              "pitch": 1.5
            },
            {
              "type": "minecraft:run_function",
              "function": "mt:items/armor/swamp/ability"
            }
          ]
        },
        "enchanted": "victim",
        "affected": "victim"
      }
    ]
  }
}