
// Mobs that will have iron armor
const mob_list_iron_armor = [
    "minecraft:zombie",
    "minecraft:zombie_villager",
    "minecraft:husk",
    "minecraft:skeleton",
    "minecraft:stray",
    "minecraft:vex"
]

// Mobs that will have gold armor
const mob_list_gold_armor  = [
    "minecraft:piglin",
    "minecraft:zombified_piglin",
]

// Weapons
const iron_machete_tag = {
    "SGear_UUID":[-1186478149,970018195,-2066216030,924082057],"SGear_Data":{"Construction":{"Parts":[{"Item":{"id":"silentgear:machete_blade","Count":1,"tag":{"CraftedCount":1,"Materials":[{"Item":{"id":"cavesandcliffs:copper_ingot","Count":1},"ID":"silentgear:copper","Count":3}]}},"ID":"silentgear:machete_blade"},{"Item":{"id":"silentgear:rod","Count":1,"tag":{"CraftedCount":4,"Materials":[{"Item":{"id":"minecraft:gold_ingot","Count":1},"ID":"silentgear:gold","Count":2}]}},"ID":"silentgear:rod"}]},"Rendering":{"ModelKey":"machete:machete_blade{copper,copper,copper},rod{gold,gold},"},"Properties":{"ModVersion":"2.6.24","Stats":{"silentgear:enchantability":16.5,"silentgear:harvest_speed":4,"silentgear:harvest_level":1,"silentgear:durability":161.28,"silentgear:magic_damage":2,"silentgear:melee_damage":5,"silentgear:attack_speed":-2.3999999,"silentgear:rarity":18.4924,"silentgear:repair_efficiency":1},"LockStats":0,"Traits":[{"Level":2,"Name":"silentgear:malleable"},{"Level":1,"Name":"silentgear:soft"}]}},"Damage":0
}

const gold_machete_tag = {
    "SGear_UUID":[-1609325147,926629908,-1667563584,-683712851],"SGear_Data":{"Construction":{"Parts":[{"Item":{"id":"silentgear:machete_blade","Count":1,"tag":{"Materials":[{"Item":{"id":"minecraft:gold_ingot","Count":1},"ID":"silentgear:gold","Count":3}]}},"ID":"silentgear:machete_blade"},{"Item":{"id":"silentgear:rod","Count":1,"tag":{"CraftedCount":4,"Materials":[{"Item":{"id":"minecraft:crimson_planks","Count":1},"ID":"silentgear:wood/crimson","Count":2}]}},"ID":"silentgear:rod"}]},"Rendering":{"ModelKey":"machete:machete_blade{gold,gold,gold},rod{wood/crimson,wood/crimson},"},"Properties":{"ModVersion":"2.6.24","Stats":{"silentgear:enchantability":21.779999,"silentgear:harvest_speed":12,"silentgear:harvest_level":0,"silentgear:durability":38.4,"silentgear:magic_damage":4,"silentgear:melee_damage":4,"silentgear:attack_speed":-2.3999999,"silentgear:rarity":29.703535,"silentgear:repair_efficiency":1},"LockStats":0,"Traits":[{"Level":1,"Name":"silentgear:brilliant"},{"Level":1,"Name":"silentgear:malleable"},{"Level":3,"Name":"silentgear:soft"},{"Level":1,"Name":"silentgear:flexible"}]}},"Damage":0
}

const stone_machete_tag = {
    "SGear_UUID":[-1645087408,-1106949597,-1664135506,-1755496301],"SGear_Data":{"Construction":{"Parts":[{"Item":{"id":"silentgear:machete_blade","Count":1,"tag":{"Materials":[{"Item":{"id":"minecraft:cobblestone","Count":1},"ID":"silentgear:stone","Count":3}]}},"ID":"silentgear:machete_blade"},{"Item":{"id":"silentgear:rod","Count":1,"tag":{"Materials":[{"Item":{"id":"minecraft:air","Count":1,"tag":{}},"ID":"iafgear:witherbone"}]}},"ID":"silentgear:rod"}]},"Rendering":{"ModelKey":"machete:machete_blade{stone,stone,stone},rod{iafgear:witherbone},"},"Properties":{"ModVersion":"2.6.24","Stats":{"silentgear:enchantability":4.5,"silentgear:harvest_speed":4,"silentgear:harvest_level":1,"silentgear:durability":157.2,"silentgear:melee_damage":5.2,"silentgear:magic_damage":0,"silentgear:attack_speed":-2.6,"silentgear:rarity":4.8,"silentgear:repair_efficiency":1},"LockStats":0,"Traits":[{"Level":1,"Name":"silentgear:ancient"},{"Level":2,"Name":"silentgear:flexible"}]}},"Damage":0
}

const iron_axe_tag = {
    "SGear_UUID":[1142350982,263081365,-1538847313,-1036824040],"SGear_Data":{"Construction":{"Parts":[{"Item":{"id":"silentgear:axe_head","Count":1,"tag":{"Materials":[{"Item":{"id":"minecraft:iron_ingot","Count":1},"ID":"silentgear:iron","Count":3}]}},"ID":"silentgear:axe_head"},{"Item":{"id":"silentgear:rod","Count":1,"tag":{"CraftedCount":4,"Materials":[{"Item":{"id":"minecraft:crimson_planks","Count":1},"ID":"silentgear:wood/crimson","Count":2}]}},"ID":"silentgear:rod"}]},"Rendering":{"ModelKey":"axe:axe_head{iron,iron,iron},rod{wood/crimson,wood/crimson},"},"Properties":{"ModVersion":"2.6.24","Stats":{"silentgear:enchantability":15.4,"silentgear:harvest_speed":6,"silentgear:harvest_level":2,"silentgear:durability":249.99998,"silentgear:magic_damage":1,"silentgear:melee_damage":7,"silentgear:attack_speed":-3.1,"silentgear:rarity":12.129943,"silentgear:repair_efficiency":1},"LockStats":0,"Traits":[{"Level":3,"Name":"silentgear:malleable"},{"Level":1,"Name":"silentgear:magnetic"},{"Level":1,"Name":"silentgear:flexible"}]}},"Damage":0
}

const gold_axe_tag = {
    "SGear_UUID":[-511487147,-1276297096,-1339131187,-2004106044],"SGear_Data":{"Construction":{"Parts":[{"Item":{"id":"silentgear:axe_head","Count":1,"tag":{"Materials":[{"Item":{"id":"minecraft:gold_ingot","Count":1},"ID":"silentgear:gold","Count":3}]}},"ID":"silentgear:axe_head"},{"Item":{"id":"silentgear:rod","Count":1,"tag":{"CraftedCount":4,"Materials":[{"Item":{"id":"minecraft:crimson_planks","Count":1},"ID":"silentgear:wood/crimson","Count":2}]}},"ID":"silentgear:rod"}]},"Rendering":{"ModelKey":"axe:axe_head{gold,gold,gold},rod{wood/crimson,wood/crimson},"},"Properties":{"ModVersion":"2.6.24","Stats":{"silentgear:enchantability":24.2,"silentgear:harvest_speed":12,"silentgear:harvest_level":0,"silentgear:durability":32,"silentgear:magic_damage":4,"silentgear:melee_damage":5,"silentgear:attack_speed":-2.8,"silentgear:rarity":29.703535,"silentgear:repair_efficiency":1},"LockStats":0,"Traits":[{"Level":1,"Name":"silentgear:brilliant"},{"Level":1,"Name":"silentgear:malleable"},{"Level":3,"Name":"silentgear:soft"},{"Level":1,"Name":"silentgear:flexible"}]}},"Damage":0
}

// Armor
const armor_id = [
    // Keep them in order boots > leggings > chestplate > helmet
    "silentgear:boots", 
    "silentgear:leggings", 
    "silentgear:chestplate", 
    "silentgear:helmet"
]

const iron_armor_tag = [
    // Keep them in order boots > leggings > chestplate > helmet
    // Boots
    {"SGear_UUID":[2047201268,-1797763376,-1599097780,1609533174],"SGear_Data":{"Construction":{"Parts":[{"Item":{"id":"silentgear:boot_plates","Count":1,"tag":{"CraftedCount":1,"Materials":[{"Item":{"id":"minecraft:iron_ingot","Count":1},"ID":"silentgear:iron","Count":4}]}},"ID":"silentgear:boot_plates"}]},"Rendering":{"ModelKey":"boots:boot_plates{iron,iron,iron,iron},"},"Properties":{"ModVersion":"2.6.24","Stats":{"silentgear:armor":2,"silentgear:enchantability":14.000001,"silentgear:projectile_speed":1,"silentgear:armor_durability":15.000001,"silentgear:magic_armor":1.5,"silentgear:durability":250,"silentgear:projectile_accuracy":1.1,"silentgear:rarity":20,"silentgear:repair_efficiency":1},"LockStats":0,"Traits":[{"Level":3,"Name":"silentgear:malleable"},{"Level":1,"Name":"silentgear:magnetic"}]}},"Damage":0},
    // Leggings
    {"SGear_UUID":[827151043,92489143,-1479065736,1903553349],"SGear_Data":{"Construction":{"Parts":[{"Item":{"id":"silentgear:legging_plates","Count":1,"tag":{"CraftedCount":1,"Materials":[{"Item":{"id":"minecraft:iron_ingot","Count":1},"ID":"silentgear:iron","Count":7}]}},"ID":"silentgear:legging_plates"}]},"Rendering":{"ModelKey":"leggings:legging_plates{iron,iron,iron,iron,iron,iron,iron},"},"Properties":{"ModVersion":"2.6.24","Stats":{"silentgear:armor":5,"silentgear:enchantability":14,"silentgear:projectile_speed":1,"silentgear:armor_durability":15.000001,"silentgear:magic_armor":1.4999999,"silentgear:durability":250,"silentgear:projectile_accuracy":1.1000001,"silentgear:rarity":20,"silentgear:repair_efficiency":1},"LockStats":0,"Traits":[{"Level":3,"Name":"silentgear:malleable"},{"Level":1,"Name":"silentgear:magnetic"}]}},"Damage":0},
    // Chestplate
    {"SGear_UUID":[-268717606,-1859108401,-1237527728,1873225042],"SGear_Data":{"Construction":{"Parts":[{"Item":{"id":"silentgear:chestplate_plates","Count":1,"tag":{"CraftedCount":1,"Materials":[{"Item":{"id":"minecraft:iron_ingot","Count":1},"ID":"silentgear:iron","Count":8}]}},"ID":"silentgear:chestplate_plates"}]},"Rendering":{"ModelKey":"chestplate:chestplate_plates{iron,iron,iron,iron,iron,iron,iron,iron},"},"Properties":{"ModVersion":"2.6.24","Stats":{"silentgear:armor":5.9999995,"silentgear:enchantability":14,"silentgear:projectile_speed":1,"silentgear:armor_durability":15,"silentgear:magic_armor":1.4999999,"silentgear:durability":250,"silentgear:projectile_accuracy":1.1,"silentgear:rarity":20,"silentgear:repair_efficiency":1},"LockStats":0,"Traits":[{"Level":3,"Name":"silentgear:malleable"},{"Level":1,"Name":"silentgear:magnetic"}]}},"Damage":0},
    // Helmet
    {"SGear_UUID":[442228983,-212645553,-1497513850,273459162],"SGear_Data":{"Construction":{"Parts":[{"Item":{"id":"silentgear:helmet_plates","Count":1,"tag":{"CraftedCount":1,"Materials":[{"Item":{"id":"minecraft:iron_ingot","Count":1},"ID":"silentgear:iron","Count":5}]}},"ID":"silentgear:helmet_plates"}]},"Rendering":{"ModelKey":"helmet:helmet_plates{iron,iron,iron,iron,iron},"},"Properties":{"ModVersion":"2.6.24","Stats":{"silentgear:enchantability":14.000001,"silentgear:armor":2,"silentgear:projectile_speed":1,"silentgear:armor_durability":15.000001,"silentgear:magic_armor":1.5,"silentgear:durability":250,"silentgear:projectile_accuracy":1.1,"silentgear:rarity":20,"silentgear:repair_efficiency":1},"LockStats":0,"Traits":[{"Level":3,"Name":"silentgear:malleable"},{"Level":1,"Name":"silentgear:magnetic"}]}},"Damage":0}
]

const gold_armor_tag = [
    // Keep them in order boots > leggings > chestplate > helmet
    // Boots
    {"SGear_UUID":[-1071233307,1647265513,-1418572301,252215750],"SGear_Data":{"Construction":{"Parts":[{"Item":{"id":"silentgear:boot_plates","Count":1,"tag":{"CraftedCount":1,"Materials":[{"Item":{"id":"minecraft:gold_ingot","Count":1},"ID":"silentgear:gold","Count":4}]}},"ID":"silentgear:boot_plates"}]},"Rendering":{"ModelKey":"boots:boot_plates{gold,gold,gold,gold},"},"Properties":{"ModVersion":"2.6.24","Stats":{"silentgear:armor":1,"silentgear:enchantability":22.000002,"silentgear:projectile_speed":1.1,"silentgear:armor_durability":7.0000005,"silentgear:magic_armor":2,"silentgear:durability":32,"silentgear:projectile_accuracy":1,"silentgear:rarity":50,"silentgear:repair_efficiency":1},"LockStats":0,"Traits":[{"Level":1,"Name":"silentgear:brilliant"},{"Level":1,"Name":"silentgear:malleable"}]}},"Damage":0},
    // Leggings
    {"SGear_UUID":[-1883485088,-1681568030,-1150185684,-1989432795],"SGear_Data":{"Construction":{"Parts":[{"Item":{"id":"silentgear:legging_plates","Count":1,"tag":{"CraftedCount":1,"Materials":[{"Item":{"id":"minecraft:gold_ingot","Count":1},"ID":"silentgear:gold","Count":7}]}},"ID":"silentgear:legging_plates"}]},"Rendering":{"ModelKey":"leggings:legging_plates{gold,gold,gold,gold,gold,gold,gold},"},"Properties":{"ModVersion":"2.6.24","Stats":{"silentgear:armor":2.9999998,"silentgear:enchantability":22,"silentgear:projectile_speed":1.1000001,"silentgear:armor_durability":7,"silentgear:magic_armor":2,"silentgear:durability":32,"silentgear:projectile_accuracy":1,"silentgear:rarity":50,"silentgear:repair_efficiency":1},"LockStats":0,"Traits":[{"Level":1,"Name":"silentgear:brilliant"},{"Level":1,"Name":"silentgear:malleable"}]}},"Damage":0},
    // Chestplate
    {"SGear_UUID":[665540842,472403454,-2081383407,-1217138875],"SGear_Data":{"Construction":{"Parts":[{"Item":{"id":"silentgear:chestplate_plates","Count":1,"tag":{"CraftedCount":1,"Materials":[{"Item":{"id":"minecraft:gold_ingot","Count":1},"ID":"silentgear:gold","Count":8}]}},"ID":"silentgear:chestplate_plates"}]},"Rendering":{"ModelKey":"chestplate:chestplate_plates{gold,gold,gold,gold,gold,gold,gold,gold},"},"Properties":{"ModVersion":"2.6.24","Stats":{"silentgear:enchantability":22,"silentgear:armor":5,"silentgear:projectile_speed":1.1,"silentgear:armor_durability":7,"silentgear:magic_armor":2,"silentgear:durability":32,"silentgear:projectile_accuracy":1,"silentgear:rarity":50,"silentgear:repair_efficiency":1},"LockStats":0,"Traits":[{"Level":1,"Name":"silentgear:brilliant"},{"Level":1,"Name":"silentgear:malleable"}]}},"Damage":0},
    // Helmet
    {"SGear_UUID":[-1256290664,436226633,-1864339861,-981968913],"SGear_Data":{"Construction":{"Parts":[{"Item":{"id":"silentgear:helmet_plates","Count":1,"tag":{"CraftedCount":1,"Materials":[{"Item":{"id":"minecraft:gold_ingot","Count":1},"ID":"silentgear:gold","Count":5}]}},"ID":"silentgear:helmet_plates"}]},"Rendering":{"ModelKey":"helmet:helmet_plates{gold,gold,gold,gold,gold},"},"Properties":{"ModVersion":"2.6.24","Stats":{"silentgear:armor":2,"silentgear:enchantability":22.000002,"silentgear:projectile_speed":1.1,"silentgear:armor_durability":7.0000005,"silentgear:magic_armor":2,"silentgear:durability":32,"silentgear:projectile_accuracy":1,"silentgear:rarity":50,"silentgear:repair_efficiency":1},"LockStats":0,"Traits":[{"Level":1,"Name":"silentgear:brilliant"},{"Level":1,"Name":"silentgear:malleable"}]}},"Damage":0}
]