{
  "type": "minecraft:chest",
  "pools": [
    {
      "rolls": 11,
      "bonus_rolls": {
        "min": 0,
        "max": 4
      },
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:music_disc_stal",
          "weight": 2
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:music_disc_otherside",
          "weight": 2
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:music_disc_mall",
          "weight": 2
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:saddle",
          "weight": 5
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_pickaxe",
          "weight": 6,
          "functions": [
            {
              "function": "minecraft:set_nbt",
              "tag": "{Damage: 0}",
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            },
            {
              "function": "minecraft:set_nbt",
              "tag": "{Damage: 90}",
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            },
            {
              "function": "minecraft:set_nbt",
              "tag": "{Damage: 145}",
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            },
            {
              "function": "minecraft:set_nbt",
              "tag": "{Damage: 200}",
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            },
            {
              "function": "minecraft:set_nbt",
              "tag": "{Damage: 85}",
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:arrow",
          "weight": 12,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "type": "minecraft:uniform",
                "min": 1,
                "max": 15
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:shelter_pottery_sherd",
          "weight": 4
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:wild_armor_trim_smithing_template",
          "weight": 3
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:name_tag",
          "weight": 6
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:bread",
          "weight": 9,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 5
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:golden_apple",
          "weight": 3
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:amethyst_shard",
          "weight": 6,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond",
          "weight": 1,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 0,
                "max": 2
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:copper_ingot",
          "weight": 9,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 5
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:raw_gold",
          "weight": 9,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 8
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:raw_iron",
          "weight": 12,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 10
              }
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_nugget",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 5
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:enchanted_book",
          "weight": 15,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            },
            {
              "function": "minecraft:set_nbt",
              "tag": "{StoredEnchantments: [{lvl: 1s, id: \"minecraft:fire_aspect\"}]}",
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            },
            {
              "function": "minecraft:set_nbt",
              "tag": "{StoredEnchantments: [{lvl: 3s, id: \"minecraft:smite\"}]}",
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.4
                }
              ]
            },
            {
              "function": "minecraft:set_nbt",
              "tag": "{StoredEnchantments: [{lvl: 2s, id: \"minecraft:efficiency\"}]}",
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            },
            {
              "function": "minecraft:set_nbt",
              "tag": "{StoredEnchantments: [{lvl: 2s, id: \"minecraft:lure\"}]}",
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.4
                }
              ]
            },
            {
              "function": "minecraft:set_nbt",
              "tag": "{StoredEnchantments: [{lvl: 1s, id: \"minecraft:flame\"}]}",
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.2
                }
              ]
            },
            {
              "function": "minecraft:set_nbt",
              "tag": "{StoredEnchantments: [{lvl: 2s, id: \"minecraft:sharpness\"}]}",
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            }
          ]
        },
        {
          "type": "minecraft:tag",
          "name": "terrariastructures:jungle_cabin_modded",
          "expand": true,
          "weight": 3
        },
        {
          "type": "minecraft:tag",
          "name": "terrariastructures:jungle_cabin_modded",
          "expand": true,
          "weight": 3
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:jungle_wood",
          "weight": 6,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 6
              }
            }
          ]
        }
      ]
    }
  ]
}
