{
  "pools": [
    {
      "rolls": {
        "type": "minecraft:binomial",
        "n": 1,
        "p": 0.05
      },
      "entries": [
        {
          "type": "minecraft:item",
          "name": "patchouli:guide_book",
          "functions": [
            {
              "function": "minecraft:set_nbt",
              "tag": "{\"patchouli:book\":\"alchemistry:alchemistry_book\"}"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "patchouli:guide_book",
          "functions": [
            {
              "function": "minecraft:set_nbt",
              "tag": "{\"patchouli:book\":\"thermal:guidebook\"}"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "patchouli:guide_book",
          "functions": [
            {
              "function": "minecraft:set_nbt",
              "tag": "{\"patchouli:book\":\"outvoted:book\"}"
            }
          ]
        },
        {			
          "type": "minecraft:item",
          "name": "iceandfire:bestiary"
        },
        {
          "type": "minecraft:item",
          "name": "alexsmobs:animal_dictionary"
        },
        {	
          "type": "minecraft:item",
          "name": "immersiveengineering:manual"
        },
        {		
          "type": "minecraft:item",
          "name": "rftoolsbase:manual"
        },
        {			
          "type": "minecraft:item",
          "name": "mysticalworld:encyclopedia"
        },
        {
          "type": "minecraft:item",
          "name": "eidolon:codex"
        }
      ]
    },
	{
      "rolls": {
        "type": "minecraft:binomial",
        "n": 4,
        "p": 0.03
      },
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:book",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 60,
                "max": 90
              }
            }
          ]
        }
      ]
    },
    {
      "rolls": {
        "type": "minecraft:binomial",
        "n": 6,
        "p": 0.15
      },
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:book",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 30,
                "max": 60
              }
            }
          ]
        }
      ]
    },
    {
      "rolls": {
        "type": "minecraft:binomial",
        "n": 5,
        "p": 0.20
      },
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:book",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 1,
                "max": 30
              }
            }
          ]
        }
      ]
    },
	{	
      "rolls": {
        "type": "minecraft:binomial",
        "n": 2,
        "p": 0.05
      },
      "entries": [
        {
          "type": "minecraft:item",
          "name": "quark:red_rune"
        },
        {
          "type": "minecraft:item",
          "name": "quark:pink_rune"
        },
        {
          "type": "minecraft:item",
          "name": "quark:brown_rune"
        },
        {
          "type": "minecraft:item",
          "name": "quark:blue_rune"
        },
        {
          "type": "minecraft:item",
          "name": "quark:yellow_rune"
        },
        {
          "type": "minecraft:item",
          "name": "quark:purple_rune"
        },
        {
          "type": "minecraft:item",
          "name": "quark:rainbow_rune"
        },
        {
          "type": "minecraft:item",
          "name": "quark:gray_rune"
        },
        {
          "type": "minecraft:item",
          "name": "quark:magenta_rune"
        },
        {
          "type": "minecraft:item",
          "name": "quark:light_blue_rune"
        },
        {
          "type": "minecraft:item",
          "name": "quark:lime_rune"
        },
        {
          "type": "minecraft:item",
          "name": "quark:black_rune"
        },
        {
          "type": "minecraft:item",
          "name": "quark:cyan_rune"
        },
        {
          "type": "minecraft:item",
          "name": "quark:green_rune"
        },
        {
          "type": "minecraft:item",
          "name": "quark:light_gray_rune"
        }
      ]
    },
	{	
      "rolls": {
        "type": "minecraft:binomial",
        "n": 8,
        "p": 0.15
      },
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:potion",
          "functions": [
            {
              "function": "minecraft:set_nbt",
              "tag": "{Potion:\"minecraft:night_vision\"}"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:potion",
          "functions": [
            {
              "function": "minecraft:set_nbt",
              "tag": "{Potion:\"minecraft:strong_strength\"}"
            }
          ]
        },
        {	
          "type": "minecraft:item",
          "name": "minecraft:splash_potion",
          "functions": [
            {
              "function": "minecraft:set_nbt",
              "tag": "{Potion:\"minecraft:strong_healing\"}"
            }
          ]
        },
        {	
          "type": "minecraft:item",
          "name": "minecraft:splash_potion",
          "functions": [
            {
              "function": "minecraft:set_nbt",
              "tag": "{Potion:\"minecraft:poison\"}"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:splash_potion",
          "functions": [
            {
              "function": "minecraft:set_nbt",
              "tag": "{Potion:\"minecraft:strong_swiftness\"}"
            }
          ]
        },
        {	
          "type": "minecraft:item",
          "name": "minecraft:potion",
          "functions": [
            {
              "function": "minecraft:set_nbt",
              "tag": "{Potion:\"minecraft:fire_resistance\"}"
            }
          ]
        },
        {	
          "type": "minecraft:item",
          "name": "minecraft:potion",
          "functions": [
            {
              "function": "minecraft:set_nbt",
              "tag": "{Potion:\"minecraft:strong_leaping\"}"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:potion",
          "functions": [
            {
              "function": "minecraft:set_nbt",
              "tag": "{Potion:\"minecraft:invisibility\"}"
            }
          ]
        },
        {			
          "type": "minecraft:item",
          "name": "minecraft:potion",
          "functions": [
            {
              "function": "minecraft:set_nbt",
              "tag": "{Potion:\"quark:danger_sight\"}"
            }
          ]
        },
        {	
          "type": "minecraft:item",
          "name": "minecraft:potion",
          "functions": [
            {
              "function": "minecraft:set_nbt",
              "tag": "{Potion:\"apotheosis:absorption\"}"
            }
          ]
        },
        {		
          "type": "minecraft:item",
          "name": "minecraft:potion",
          "functions": [
            {
              "function": "minecraft:set_nbt",
              "tag": "{Potion:\"mysticalworld:serendipity\"}"
            }
          ]
        }
      ]
    },
	{
      "rolls": {
        "type": "minecraft:binomial",
        "n": 1,
        "p": 0.05
      },
      "entries": [
        {
          "type": "minecraft:item",
          "name": "botania:cosmetic_tiny_potato_mask"
        },
        {
          "type": "minecraft:item",
          "name": "botania:cosmetic_lusitanic_shield"
        },
        {
          "type": "minecraft:item",
          "name": "botania:cosmetic_thick_eyebrows"
        },
        {
          "type": "minecraft:item",
          "name": "botania:cosmetic_groucho_glasses"
        },
        {
          "type": "minecraft:item",
          "name": "botania:cosmetic_orange_shades"
        },
        {
          "type": "minecraft:item",
          "name": "botania:cosmetic_anaglyph_glasses"
        },
        {
          "type": "minecraft:item",
          "name": "botania:cosmetic_alien_antenna"
        },
        {
          "type": "minecraft:item",
          "name": "botania:cosmetic_eerie_mask"
        },
        {
          "type": "minecraft:item",
          "name": "botania:cosmetic_questgiver_mark"
        },
        {
          "type": "minecraft:item",
          "name": "botania:cosmetic_kamui_eye"
        },
        {
          "type": "minecraft:item",
          "name": "botania:cosmetic_googly_eyes"
        },
        {
          "type": "minecraft:item",
          "name": "botania:cosmetic_clock_eye"
        },
        {
          "type": "minecraft:item",
          "name": "botania:cosmetic_four_leaf_clover"
        },
        {
          "type": "minecraft:item",
          "name": "botania:cosmetic_unicorn_horn"
        },
        {
          "type": "minecraft:item",
          "name": "botania:cosmetic_devil_horns"
        },
        {
          "type": "minecraft:item",
          "name": "botania:cosmetic_hyper_plus"
        },
        {	
          "type": "minecraft:item",
          "name": "botania:cosmetic_ancient_mask"
        },
        {
          "type": "minecraft:item",
          "name": "botania:cosmetic_devil_tail"
        },
        {
          "type": "minecraft:item",
          "name": "botania:cosmetic_cat_ears"
        },
        {
          "type": "minecraft:item",
          "name": "botania:cosmetic_witch_pin"
        },
        {
          "type": "minecraft:item",
          "name": "botania:cosmetic_blue_butterfly"
        },
        {
          "type": "minecraft:item",
          "name": "botania:cosmetic_polka_dotted_bows"
        },
        {	
          "type": "minecraft:item",
          "name": "botania:cosmetic_pink_flower_bud"
        },
        {
          "type": "minecraft:item",
          "name": "botania:cosmetic_wicked_eyepatch"
        },
        {
          "type": "minecraft:item",
          "name": "botania:cosmetic_eyepatch"
        },
        {
          "type": "minecraft:item",
          "name": "botania:cosmetic_red_ribbons"
        },
        {
          "type": "minecraft:item",
          "name": "botania:cosmetic_black_bowtie"
        },
        {
          "type": "minecraft:item",
          "name": "botania:cosmetic_black_tie"
        },
        {
          "type": "minecraft:item",
          "name": "botania:cosmetic_red_glasses"
        },
        {
          "type": "minecraft:item",
          "name": "botania:cosmetic_puffy_scarf"
        },
        {
          "type": "minecraft:item",
          "name": "botania:cosmetic_engineer_goggles"
        },
        {
          "type": "minecraft:item",
          "name": "botania:cosmetic_polka_dotted_bows"
        },
        {			
          "type": "minecraft:item",
          "name": "botania:cosmetic_botanist_emblem"
        }
      ]
    },
	{	
      "rolls": {
        "type": "minecraft:binomial",
        "n": 1,
        "p": 0.05
      },
      "entries": [
        {
          "type": "minecraft:sequence",
          "children": [
            {			
              "type": "minecraft:item",
              "weight": 1,
              "name": "theabyss:bone_sword_item",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 30}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {
              "type": "minecraft:item",
              "weight": 0.25,
              "name": "minecraft:netherite_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 1500}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {
              "type": "minecraft:item",
              "weight": 0.25,
              "name": "theabyss:garnit_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 1600}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {				
              "type": "minecraft:item",
              "weight": 0.25,
              "name": "theabyss:unknown_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 1800}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {				
              "type": "minecraft:item",
              "weight": 0.25,
              "name": "theabyss:ultraabysspoisonsword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 1000}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {				
              "type": "minecraft:item",
              "weight": 0.25,
              "name": "iceandfire:ghost_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 2700}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {				
              "type": "minecraft:item",
              "weight": 0.25,
              "name": "betterendforge:aeternium_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 2000}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {								
              "type": "minecraft:item",
              "weight": 0.25,
              "name": "theabyss:abysspoisonsword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 800}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {			
              "type": "minecraft:item",
              "weight": 0.25,
              "name": "undergarden:cloggrum_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 200}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {			
              "type": "minecraft:item",
              "weight": 0.25,
              "name": "byg:pendorite_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 2000}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {			
              "type": "minecraft:item",
              "weight": 5,
              "name": "minecraft:diamond_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 1000}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {			
              "type": "minecraft:item",
              "weight": 5,
              "name": "betterendforge:terminite_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 700}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {				
              "type": "minecraft:item",
              "weight": 5,
              "name": "eidolon:sapping_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 340}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {				
              "type": "minecraft:item",
              "weight": 5,
              "name": "theabyss:abyssfiresword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 600}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {				
              "type": "minecraft:item",
              "weight": 10,
              "name": "mapperbase:steel_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 600}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {	
              "type": "minecraft:item",
              "weight": 10,
              "name": "majruszs_difficulty:wither_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 200}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {			
              "type": "minecraft:item",
              "weight": 10,
              "name": "mysticalworld:amethyst_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 500}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {				
              "type": "minecraft:item",
              "weight": 15,
              "name": "mysticalworld:lead_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 400}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {				
              "type": "minecraft:item",
              "weight": 15,
              "name": "mysticalworld:quicksilver_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 25}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {				
              "type": "minecraft:item",
              "weight": 15,
              "name": "mysticalworld:silver_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 90}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {				
              "type": "minecraft:item",
              "weight": 25,
              "name": "minecraft:iron_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 125}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {
              "type": "minecraft:item",
              "weight": 25,
              "name": "botania:manasteel_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 120}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {
              "type": "minecraft:item",
              "weight": 20,
              "name": "botania:elementium_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 400}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {				
              "type": "minecraft:item",
              "weight": 25,
              "name": "appliedenergistics2:certus_quartz_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 100}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {
              "type": "minecraft:item",
              "weight": 25,
              "name": "appliedenergistics2:nether_quartz_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 100}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {					
              "type": "minecraft:item",
              "weight": 25,
              "name": "betterendforge:thallasium_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 150}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {	
              "type": "minecraft:item",
              "weight": 25,
              "name": "mysticalworld:tin_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 90}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {			
              "type": "minecraft:item",
              "weight": 25,
              "name": "iceandfire:copper_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 130}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {			
              "type": "minecraft:item",
              "weight": 25,
              "name": "mysticalworld:cactus_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 15}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {				
              "type": "minecraft:item",
              "weight": 25,
              "name": "iceandfire:dread_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 45}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {			
              "type": "minecraft:item",
              "weight": 25,
              "name": "minecraft:golden_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 25}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
				}
			  ]
            }
          ]
        }
      ]
	},
    {	
      "rolls": {
        "type": "minecraft:binomial",
        "n": 1,
        "p": 0.05
      },
      "entries": [
        {
          "type": "minecraft:sequence",
          "children": [
            {			
              "type": "minecraft:item",
              "weight": 1,
              "name": "theabyss:bone_sword_item",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 30}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {
              "type": "minecraft:item",
              "weight": 1,
              "name": "minecraft:netherite_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 1500}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {
              "type": "minecraft:item",
              "weight": 1,
              "name": "theabyss:garnit_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 1600}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {				
              "type": "minecraft:item",
              "weight": 1,
              "name": "theabyss:unknown_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 1800}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {				
              "type": "minecraft:item",
              "weight": 1,
              "name": "theabyss:ultraabysspoisonsword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 1000}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {				
              "type": "minecraft:item",
              "weight": 1,
              "name": "iceandfire:ghost_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 2700}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {				
              "type": "minecraft:item",
              "weight": 1,
              "name": "betterendforge:aeternium_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 2000}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {								
              "type": "minecraft:item",
              "weight": 1,
              "name": "theabyss:abysspoisonsword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 800}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {			
              "type": "minecraft:item",
              "weight": 1,
              "name": "undergarden:cloggrum_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 200}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {			
              "type": "minecraft:item",
              "weight": 1,
              "name": "byg:pendorite_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 2000}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {			
              "type": "minecraft:item",
              "weight": 5,
              "name": "minecraft:diamond_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 1000}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {			
              "type": "minecraft:item",
              "weight": 5,
              "name": "betterendforge:terminite_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 700}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {				
              "type": "minecraft:item",
              "weight": 5,
              "name": "eidolon:sapping_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 340}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {				
              "type": "minecraft:item",
              "weight": 5,
              "name": "theabyss:abyssfiresword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 600}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {				
              "type": "minecraft:item",
              "weight": 10,
              "name": "mapperbase:steel_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 600}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {	
              "type": "minecraft:item",
              "weight": 10,
              "name": "majruszs_difficulty:wither_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 200}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {			
              "type": "minecraft:item",
              "weight": 10,
              "name": "mysticalworld:amethyst_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 500}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {				
              "type": "minecraft:item",
              "weight": 15,
              "name": "mysticalworld:lead_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 400}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {				
              "type": "minecraft:item",
              "weight": 15,
              "name": "mysticalworld:quicksilver_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 25}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {				
              "type": "minecraft:item",
              "weight": 15,
              "name": "mysticalworld:silver_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 90}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {				
              "type": "minecraft:item",
              "weight": 25,
              "name": "minecraft:iron_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 125}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {
              "type": "minecraft:item",
              "weight": 25,
              "name": "botania:manasteel_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 120}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {
              "type": "minecraft:item",
              "weight": 20,
              "name": "botania:elementium_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 400}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {				
              "type": "minecraft:item",
              "weight": 25,
              "name": "appliedenergistics2:certus_quartz_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 100}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {
              "type": "minecraft:item",
              "weight": 25,
              "name": "appliedenergistics2:nether_quartz_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 100}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {					
              "type": "minecraft:item",
              "weight": 25,
              "name": "betterendforge:thallasium_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 150}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {	
              "type": "minecraft:item",
              "weight": 25,
              "name": "mysticalworld:tin_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 90}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {			
              "type": "minecraft:item",
              "weight": 25,
              "name": "iceandfire:copper_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 130}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {			
              "type": "minecraft:item",
              "weight": 25,
              "name": "mysticalworld:cactus_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 15}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {				
              "type": "minecraft:item",
              "weight": 25,
              "name": "iceandfire:dread_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 45}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
                }
              ]
            },
            {			
              "type": "minecraft:item",
              "weight": 25,
              "name": "minecraft:golden_sword",
              "functions": [
                {
                  "function": "minecraft:set_nbt",
                  "tag": "{Damage: 25}",
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.5
					}
				  ]
				}
			  ]
            }
          ]
        }
      ],
      "functions": [
        {
          "function": "minecraft:enchant_randomly",
          "enchantments": [
            "minecraft:sharpness"
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.05
            }
          ]
        },
        {	
          "function": "minecraft:enchant_randomly",
          "enchantments": [
            "minecraft:unbreaking"
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.05
            }
          ]
        },
        {
          "function": "minecraft:enchant_randomly",
          "enchantments": [
            "minecraft:looting"
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.05
            }
          ]
        },
        {
          "function": "minecraft:enchant_randomly",
          "enchantments": [
            "ma-enchants:combo"
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.05
            }
          ]
        },
        {
          "function": "minecraft:enchant_randomly",
          "enchantments": [
            "ma-enchants:ice_aspect"
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.05
            }
          ]
        },
        {
          "function": "minecraft:enchant_randomly",
          "enchantments": [
            "ma-enchants:lifesteal"
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.05
            }
          ]
        },
        {	
          "function": "minecraft:enchant_randomly",
          "enchantments": [
            "apotheosis:life_mending"
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.05
            }
          ]
        },
        {
          "function": "minecraft:enchant_randomly",
          "enchantments": [
            "minecraft:bane_of_arthropods"
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.05
            }
          ]
        },
        {
          "function": "minecraft:enchant_randomly",
          "enchantments": [
            "minecraft:smite"
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.05
            }
          ]
        },
        {
          "function": "minecraft:enchant_randomly",
          "enchantments": [
            "minecraft:fire_aspect"
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.05
            }
          ]
        },
        {
          "function": "minecraft:enchant_randomly",
          "enchantments": [
            "minecraft:sweeping"
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.05
            }
          ]
        },
        {
          "function": "minecraft:enchant_randomly",
          "enchantments": [
            "apotheosis:hell_infusion"
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.05
            }
          ]
        },
        {	
          "function": "minecraft:enchant_randomly",
          "enchantments": [
            "apotheosis:capturing"
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.05
            }
          ]
        },
        {
          "function": "minecraft:enchant_randomly",
          "enchantments": [
            "apotheosis:bane_of_illagers"
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.05
            }
          ]
        },
        {
          "function": "minecraft:enchant_randomly",
          "enchantments": [
            "apotheosis:sea_infusion"
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.05
            }
          ]
        },
        {
          "function": "minecraft:enchant_randomly",
          "enchantments": [
            "apotheosis:knowledge"
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.05
            }
          ]
        },
        {
          "function": "minecraft:enchant_randomly",
          "enchantments": [
            "apotheosis:scavenger"
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.05
            }
          ]
        },
        {
          "function": "minecraft:enchant_randomly",
          "enchantments": [
            "allurement:reforming"
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.05
            }
          ]
        },
        {			
          "function": "minecraft:enchant_randomly",
          "enchantments": [
            "farmersdelight:backstabbing"
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.05
            }
          ]
        },
        {		
          "function": "minecraft:enchant_randomly",
          "enchantments": [
            "ma-enchants:timeless"
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.05
            }
          ]
        }
      ]
    },
    {
      "rolls": {
        "min": 2,
        "max": 7
      },
      "entries": [
        {	
          "type": "minecraft:item",
          "weight": 1,
          "name": "iceandfire:sapphire_gem",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ]
        },
        {	
          "type": "minecraft:item",
          "weight": 10,
          "name": "minecraft:emerald",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 5
              }
            }
          ]
        },
        {		
          "type": "minecraft:item",
          "weight": 1,
          "name": "silents_mechanisms:platinum_ingot",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
        {	
          "type": "minecraft:item",
          "weight": 5,
          "name": "silents_mechanisms:nickel_ingot",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
        {		
          "type": "minecraft:item",
          "weight": 3,
          "name": "mysticalworld:amethyst",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 3,
          "name": "minecraft:diamond",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 5,
          "name": "silents_mechanisms:steel_ingot",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
        {	
          "type": "minecraft:item",
          "weight": 5,
          "name": "mysticalworld:quicksilver_ingot",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
        {					
          "type": "minecraft:item",
          "weight": 10,
          "name": "minecraft:gold_ingot",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 4
              }
            }
          ]
        }
      ]
    },
    {	
	  "rolls": {
        "type": "minecraft:binomial",
        "n": 1,
        "p": 0.15
      },
      "entries": [
        {
          "type": "minecraft:item",
          "name": "eidolon:music_disc_parousia"
        },
        {
          "type": "minecraft:item",
          "name": "botania:record_gaia_2"
        },
        {
          "type": "minecraft:item",
          "name": "biomesoplenty:music_disc_wanderer"
        },
        {
          "type": "minecraft:item",
          "name": "botania:record_gaia_1"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:music_disc_pigstep"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:music_disc_wait"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:music_disc_11"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:music_disc_ward"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:music_disc_strad"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:music_disc_stal"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:music_disc_mellohi"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:music_disc_mall"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:music_disc_far"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:music_disc_blocks"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:music_disc_chirp"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:music_disc_cat"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:music_disc_13"			                
        }
      ]
    }
  ]
}
