{
  "format_version": "1.10.0",
  "animation_controllers": {
    "controller.animation.armor.ct": {
      "states": {
        "default": {
          "transitions": [
            {
              "noblearmor": "q.is_item_name_any('slot.armor.chest',0,'armor:noblearmor')"
            },
            {
              "mrc_vest": "q.is_item_name_any('slot.armor.chest',0,'armor:mrc_vest')"
            },
            {
              "leather_armor": "q.is_item_name_any('slot.armor.chest',0,'armor:leather_armor')"
            },
            {
              "copper_armor": "q.is_item_name_any('slot.armor.chest',0,'armor:copper_armor')"
            },
            {
              "iron_armor": "q.is_item_name_any('slot.armor.chest',0,'armor:iron_armor')"
            },
            {
              "gold_armor": "q.is_item_name_any('slot.armor.chest',0,'armor:gold_armor')"
            },
            {
              "diamond_armor": "q.is_item_name_any('slot.armor.chest',0,'armor:diamond_armor')"
            },
            {
              "netherite_armor": "q.is_item_name_any('slot.armor.chest',0,'armor:netherite_armor')"
            }
            ],
          "on_entry": [
            ],
          "on_exit": [
            "/scoreboard objectives add disableBlock dummy"
            ]
        },
        "mrc_vest": {
          "transitions": [
            {
              "default": "!q.is_item_name_any('slot.armor.chest',0,'armor:mrc_vest')"
            }
            ],
          "on_entry": [
            "/scoreboard players set @s disableBlock 1",
            "/scoreboard players remove @s[tag=!armor:mrc_vest] bluntRes 5",
            //0.5
            "/scoreboard players add @s[tag=!armor:mrc_vest] slashRes 2",
            //1.2
            "/scoreboard players remove @s[tag=!armor:mrc_vest] pierceRes 1",
            //0.9
            "/scoreboard players remove @s[tag=!armor:mrc_vest] magicRes 5",
            //0.5
            "/scoreboard players add @s[tag=!armor:mrc_vest] projRes 5",
            //1.5
            "/tag @s add armor:mrc_vest"
            ],
          "on_exit": [
            "/tag @s remove armor:mrc_vest",
            "/scoreboard players set @s disableBlock 0",
            "/scoreboard players add @s bluntRes 5",
            "/scoreboard players remove @s slashRes 2",
            "/scoreboard players add @s pierceRes 1",
            "/scoreboard players add @s magicRes 5",
            "/scoreboard players remove @s projRes 5"
            ]
        },
        "noblearmor": {
          "transitions": [
            {
              "default": "!q.is_item_name_any('slot.armor.chest',0,'armor:noblearmor')"
            }
            ],
          "on_entry": [
            "/scoreboard players add @s[tag=!armor:noblearmor] bluntRes 3",
            "/scoreboard players remove @s[tag=!armor:noblearmor] slashRes 3",
            "/scoreboard players remove @s[tag=!armor:noblearmor] pierceRes 2",
            "/scoreboard players add @s[tag=!armor:noblearmor] magicRes 5",
            "/scoreboard players remove @s[tag=!armor:noblearmor] projRes 2",
            "/tag @s add armor:noblearmor"
            ],
          "on_exit": [
            "/scoreboard players remove @s bluntRes 3",
            "/scoreboard players add @s slashRes 3",
            "/scoreboard players add @s pierceRes 2",
            "/scoreboard players remove @s magicRes 5",
            "/scoreboard players add @s projRes 2",
            "/tag @s remove armor:noblearmor"
            ]
        },
        "leather_armor": {
          "transitions": [
            {
              "default": "!q.is_item_name_any('slot.armor.chest',0,'armor:leather_armor')"
            }
            ],
          "on_entry": [
            "/scoreboard players add @s[tag=!armor:leather_armor] bluntRes 0",
            //1.0
            "/scoreboard players remove @s[tag=!armor:leather_armor] slashRes 1",
            //0.9
            "/scoreboard players add @s[tag=!armor:leather_armor] pierceRes 3",
            //1.3
            "/scoreboard players add @s[tag=!armor:leather_armor] magicRes 5",
            //1.5
            "/scoreboard players add @s[tag=!armor:leather_armor] projRes 5",
            //1.5
            "/tag @s add armor:leather_armor"
            ],
          "on_exit": [
            "/scoreboard players remove @s bluntRes 0",
            //1.0
            "/scoreboard players add @s slashRes 1",
            //0.9
            "/scoreboard players remove @s pierceRes 3",
            //1.3
            "/scoreboard players remove @s magicRes 5",
            //1.5
            "/scoreboard players remove @s projRes 5",
            //1.5
            "/tag @s remove armor:leather_armor"
            ]
        },
        "copper_armor": {
          "transitions": [
            {
              "default": "!q.is_item_name_any('slot.armor.chest',0,'armor:copper_armor')"
            }
            ],
          "on_entry": [
            "/scoreboard players remove @s[tag=!armor:copper_armor] bluntRes 1",
            //0.9
            "/scoreboard players remove @s[tag=!armor:copper_armor] slashRes 2",
            //0.8
            "/scoreboard players add @s[tag=!armor:copper_armor] pierceRes 2",
            //1.2
            "/scoreboard players add @s[tag=!armor:copper_armor] magicRes 10",
            //2.0
            "/scoreboard players add @s[tag=!armor:copper_armor] projRes 4",
            //1.4
            "/tag @s add armor:copper_armor"
            ],
          "on_exit": [
            "/scoreboard players add @s bluntRes 1",
            //0.9
            "/scoreboard players add @s slashRes 2",
            //0.8
            "/scoreboard players remove @s pierceRes 2",
            //1.2
            "/scoreboard players remove @s magicRes 10",
            //2.0
            "/scoreboard players remove @s projRes 4",
            //1.4
            "/tag @s remove armor:copper_armor"
            ]
        },
        "iron_armor": {
          "transitions": [
            {
              "default": "!q.is_item_name_any('slot.armor.chest',0,'armor:iron_armor')"
            }
            ],
          "on_entry": [
            "/scoreboard players remove @s[tag=!armor:iron_armor] bluntRes 2",
            //0.8
            "/scoreboard players remove @s[tag=!armor:iron_armor] slashRes 3",
            //0.7
            "/scoreboard players add @s[tag=!armor:iron_armor] pierceRes 1",
            //1.1
            "/scoreboard players add @s[tag=!armor:iron_armor] magicRes 5",
            //1.5
            "/scoreboard players add @s[tag=!armor:iron_armor] projRes 3",
            //1.3
            "/tag @s add armor:iron_armor"
            ],
          "on_exit": [
            "/scoreboard players add @s bluntRes 2",
            //0.8
            "/scoreboard players add @s slashRes 3",
            //0.7
            "/scoreboard players remove @s pierceRes 1",
            //1.1
            "/scoreboard players remove @s magicRes 5",
            //0.5
            "/scoreboard players remove @s projRes 3",
            //1.3
            "/tag @s remove armor:iron_armor"
            ]
        },
        "gold_armor": {
          "transitions": [
            {
              "default": "!q.is_item_name_any('slot.armor.chest',0,'armor:gold_armor')"
            }
            ],
          "on_entry": [
            "/scoreboard players remove @s[tag=!armor:gold_armor] bluntRes 2",
            //0.8
            "/scoreboard players remove @s[tag=!armor:gold_armor] slashRes 3",
            //0.7
            "/scoreboard players add @s[tag=!armor:gold_armor] pierceRes 0",
            //1.0
            "/scoreboard players add @s[tag=!armor:gold_armor] magicRes 4",
            //1.4
            "/scoreboard players add @s[tag=!armor:gold_armor] projRes 3",
            //1.3
            "/tag @s add armor:gold_armor"
            ],
          "on_exit": [
            "/scoreboard players add @s bluntRes 2",
            //0.8
            "/scoreboard players add @s slashRes 3",
            //0.7
            "/scoreboard players remove @s pierceRes 0",
            //1.0
            "/scoreboard players remove @s magicRes 4",
            //1.4
            "/scoreboard players remove @s projRes 3",
            //1.3
            "/tag @s remove armor:gold_armor"
            ]
        },
        "diamond_armor": {
          "transitions": [
            {
              "default": "!q.is_item_name_any('slot.armor.chest',0,'armor:diamond_armor')"
            }
            ],
          "on_entry": [
            "/scoreboard players remove @s[tag=!armor:diamond_armor] bluntRes 2",
            //0.8
            "/scoreboard players remove @s[tag=!armor:diamond_armor] slashRes 4",
            //0.6
            "/scoreboard players remove @s[tag=!armor:diamond_armor] pierceRes 1",
            //0.9
            "/scoreboard players add @s[tag=!armor:diamond_armor] magicRes 5",
            //1.5
            "/scoreboard players add @s[tag=!armor:diamond_armor] projRes 2",
            //1.2
            "/tag @s add armor:diamond_armor"
            ],
          "on_exit": [
            "/scoreboard players add @s bluntRes 2",
            //0.8
            "/scoreboard players add @s slashRes 4",
            //0.6
            "/scoreboard players add @s pierceRes 1",
            //0.9
            "/scoreboard players remove @s magicRes 5",
            //1.5
            "/scoreboard players remove @s projRes 2",
            //1.2
            "/tag @s remove armor:diamond_armor"
            ]
        },
        "netherite_armor": {
          "transitions": [
            {
              "default": "!q.is_item_name_any('slot.armor.chest',0,'armor:netherite_armor')"
            }
            ],
          "on_entry": [
            "/scoreboard players remove @s[tag=!armor:netherite_armor] bluntRes 3",
            //0.7
            "/scoreboard players remove @s[tag=!armor:netherite_armor] slashRes 5",
            //0.5
            "/scoreboard players remove @s[tag=!armor:netherite_armor] pierceRes 4",
            //0.6
            "/scoreboard players add @s[tag=!armor:netherite_armor] magicRes 3",
            //1.3
            "/scoreboard players remove @s[tag=!armor:netherite_armor] projRes 1",
            //0.9
            "/tag @s add armor:netherite_armor"
            ],
          "on_exit": [
            "/scoreboard players add @s bluntRes 3",
            //0.7
            "/scoreboard players add @s slashRes 5",
            //0.5
            "/scoreboard players add @s pierceRes 4",
            //0.6
            "/scoreboard players remove @s magicRes 3",
            //1.3
            "/scoreboard players add @s projRes 1",
            //0.9
            "/tag @s remove armor:netherite_armor"
            ]
        }
      }
    }
  }
}