{
  "type": "minecraft:barter",
  "pools": [
    {
      "rolls": 1.0,
      "bonus_rolls": 0.0,
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 1,
          "quality": 1,
          "name": "minecraft:piglin_banner_pattern"
        },
        {
          "type": "minecraft:item",
          "weight": 2,
          "quality": 1,
          "name": "minecraft:music_disc_pigstep"
        },
	{
          "type": "minecraft:item",
          "weight": 4,
          "quality": 1,
          "name": "minecraft:netherite_scrap"
        },
	{
          "type": "minecraft:item",
          "name": "minecraft:map",
          "weight": 5,
          "functions": [
            {
              "function": "minecraft:exploration_map",
              "destination": "fortress",
              "decoration": "banner_brown",
              "zoom": 3,
              "skip_existing_chunks": false
            },
            {
                "function": "set_name",
		"name": "Tattered Map"
            }
          ]
        },
	{
          "type": "minecraft:item",
          "name": "minecraft:map",
          "weight": 5,
          "functions": [
            {
              "function": "minecraft:exploration_map",
              "destination": "bastion_remnant",
              "decoration": "banner_black",
              "zoom": 3,
              "skip_existing_chunks": false
            },
            {
                "function": "set_name",
		"name": "Tattered Map"
            }
          ]
        },
	{
          "type": "minecraft:item",
          "weight": 6,
          "quality": 1,
          "name": "minecraft:golden_apple"
        },
        {
          "type": "minecraft:item",
          "weight": 6,
          "quality": 1,
          "functions": [
            {
              "function": "minecraft:enchant_randomly",
              "enchantments": [
                "minecraft:soul_speed"
              ]
            }
          ],
          "name": "minecraft:book"
        },
        {
          "type": "minecraft:item",
          "weight": 8,
          "functions": [
            {
              "function": "minecraft:set_nbt",
              "tag": "{Potion:\"minecraft:fire_resistance\"}"
            }
          ],
          "name": "minecraft:potion"
        },
        {
          "type": "minecraft:item",
          "weight": 8,
          "functions": [
            {
              "function": "minecraft:set_nbt",
              "tag": "{Potion:\"minecraft:fire_resistance\"}"
            }
          ],
          "name": "minecraft:splash_potion"
        },
        {
          "type": "minecraft:item",
          "weight": 12,
          "functions": [
            {
              "function": "minecraft:set_nbt",
              "tag": "{Potion:\"minecraft:water\"}"
            }
          ],
          "name": "minecraft:potion"
        },
        {
          "type": "minecraft:item",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "type": "minecraft:uniform",
                "min": 6.0,
                "max": 12.0
              }
            }
          ],
          "name": "minecraft:iron_nugget"
        },
        {
          "type": "minecraft:item",
          "weight": 10,
          "quality": 1,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "type": "minecraft:uniform",
                "min": 1.0,
                "max": 2.0
              }
            }
          ],
          "name": "minecraft:ender_pearl"
        },
        {
          "type": "minecraft:item",
          "weight": 20,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "type": "minecraft:uniform",
                "min": 3.0,
                "max": 9.0
              }
            }
          ],
          "name": "minecraft:string"
        },
        {
          "type": "minecraft:item",
          "weight": 20,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "type": "minecraft:uniform",
                "min": 5.0,
                "max": 12.0
              }
            }
          ],
          "name": "minecraft:quartz"
        },
        {
          "type": "minecraft:item",
          "weight": 20,
          "name": "minecraft:warped_fungus"
        },
        {
          "type": "minecraft:item",
          "weight": 30,
          "name": "minecraft:crimson_fungus"
        },
        {
          "type": "minecraft:item",
          "weight": 35,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "type": "minecraft:uniform",
                "min": 1.0,
                "max": 4.0
              }
            }
          ],
          "name": "minecraft:obsidian"
        },
        {
          "type": "minecraft:item",
          "weight": 25,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "type": "minecraft:uniform",
                "min": 1.0,
                "max": 3.0
              }
            }
          ],
          "name": "minecraft:crying_obsidian"
        },
        {
          "type": "minecraft:item",
          "weight": 40,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "type": "minecraft:uniform",
                "min": 1.0,
                "max": 3.0
              }
            }
          ],
          "name": "minecraft:fire_charge"
        },
        {
          "type": "minecraft:item",
          "weight": 40,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "type": "minecraft:uniform",
                "min": 1.0,
                "max": 4.0
              }
            }
          ],
          "name": "minecraft:leather"
        },
        {
          "type": "minecraft:item",
          "weight": 40,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "type": "minecraft:uniform",
                "min": 2.0,
                "max": 8.0
              }
            }
          ],
          "name": "minecraft:soul_sand"
        },
        {
          "type": "minecraft:item",
          "weight": 40,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "type": "minecraft:uniform",
                "min": 2.0,
                "max": 8.0
              }
            }
          ],
          "name": "minecraft:nether_brick"
        },
        {
          "type": "minecraft:item",
          "weight": 40,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "type": "minecraft:uniform",
                "min": 4.0,
                "max": 8.0
              }
            }
          ],
          "name": "minecraft:spectral_arrow"
        },
        {
          "type": "minecraft:item",
          "weight": 40,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "type": "minecraft:uniform",
                "min": 4.0,
                "max": 10.0
              }
            }
          ],
          "name": "minecraft:gravel"
        },
        {
          "type": "minecraft:item",
          "weight": 40,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "type": "minecraft:uniform",
                "min": 4.0,
                "max": 10.0
              }
            }
          ],
          "name": "minecraft:blackstone"
        },
        {
          "type": "minecraft:item",
          "weight": 20,
          "quality": 1,
          "name": "minecraft:gold_ingot"
        },
        {
          "type": "minecraft:item",
          "weight": 10,
          "quality": 1,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "type": "minecraft:uniform",
                "min": 2.0,
                "max": 4.0
              }
            }
          ],
          "name": "minecraft:gold_ingot"
        }
      ]
    }
  ]
}