{
  "mlib": "majruszsdifficulty:gameplay/cursed_armor_dungeon_loot",
  "cursed_armor": {
    "loot": "minecraft:chests/simple_dungeon",
    "sound": "minecraft:item.armor.equip_leather",
    "chance": 0.3
  },
  "type": "minecraft:gift",
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:leather_helmet",
          "functions": [
            {
              "function": "majruszsdifficulty:curse_randomly",
              "excluding": [
                "minecraft:vanishing_curse"
              ]
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:leather_chestplate",
          "functions": [
            {
              "function": "majruszsdifficulty:curse_randomly",
              "excluding": [
                "minecraft:vanishing_curse"
              ]
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:leather_leggings",
          "functions": [
            {
              "function": "majruszsdifficulty:curse_randomly",
              "excluding": [
                "minecraft:vanishing_curse"
              ]
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:leather_boots",
          "functions": [
            {
              "function": "majruszsdifficulty:curse_randomly",
              "excluding": [
                "minecraft:vanishing_curse"
              ]
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:stone_sword",
          "functions": [
            {
              "function": "majruszsdifficulty:curse_randomly",
              "excluding": [
                "minecraft:vanishing_curse"
              ]
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:shield",
          "functions": [
            {
              "function": "majruszsdifficulty:curse_randomly",
              "excluding": [
                "minecraft:vanishing_curse"
              ]
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.75
            }
          ]
        }
      ]
    }
  ]
}