// priority: 60

function stage6Materials(createMaterialBuilder, registerMaterialProcess) {
    let sortOrder = 600
    let temp = 3000
    let time = 300


    let db = 1100
    let refined_obsidian = createMaterialBuilder('refined_obsidian')
        .setCraftable(false).setSortOrder(sortOrder++).setTier(4).setNamespace('tinkers_advanced')
        .addStats()
        .addHead(db, 390, 16, 'minecraft:netherite')
        .addHandle(0.3, 1.0, 0, 0.1)
        .addPlatingHelmet(16.0, db * 0.7, 0.2, 10)
        .addPlatingChestplate(25.0, db * 1.0, 0.2, 10)
        .addPlatingLeggings(22.0, db * 0.9, 0.2, 10)
        .addPlatingBoots(13.0, db * 0.6, 0.2, 10)
        .addPlatingShield(db * 0.9, 0.2, 10)
        .addBinding()
        .addMaille()
        .addLimb(-0.2, -0.2, db, 53)
        .addGrip(0.1, 0.3, 195)
        .build()

    db = 900
    let refined_glowstone = createMaterialBuilder('refined_glowstone')
        .setCraftable(false).setSortOrder(sortOrder++).setTier(4).setNamespace('tinkers_advanced')
        .addStats()
        .addHead(db, 380, 18, 'minecraft:netherite')
        .addHandle(0.2, 0.9, 0.4, 0.2)
        .addPlatingHelmet(16.0, db * 0.7, 0.2, 9)
        .addPlatingChestplate(25.0, db * 1.0, 0.2, 9)
        .addPlatingLeggings(22.0, db * 0.9, 0.2, 9)
        .addPlatingBoots(13.0, db * 0.6, 0.2, 9)
        .addPlatingShield(db * 0.9, 0.2, 9)
        .addBinding()
        .addMaille()
        .addLimb(-0.1, -0.05, db, 49)
        .addGrip(0, 0.2, 190)
        .build()

    db = 850
    let voltaic_crystal = createMaterialBuilder('voltaic_crystal')
        .setCraftable(false).setSortOrder(sortOrder++).setTier(4).setNamespace('tinkers_advanced')
        .addStats()
        .addHead(db, 395, 17, 'minecraft:netherite')
        .addHandle(0, 1.1, 0.7, 0.3)
        .addBinding()
        .addLimb(-0.2, 0.5, db, 46)
        .addGrip(-0.1, 0, 198)
        .build()
        
    db = 1200
    let densium = createMaterialBuilder('densium')
        .setCraftable(false).setSortOrder(sortOrder++).setTier(4).setNamespace('tinkers_advanced')
        .addStats()
        .addHead(db, 420, 6, 'minecraft:netherite')
        .addHandle(0.5, 1.1, -0.3, 0.35)
        .addPlatingHelmet(18.0, db * 0.7, 0.25, 10)
        .addPlatingChestplate(27.0, db * 1.0, 0.25, 10)
        .addPlatingLeggings(24.0, db * 0.9, 0.25, 10)
        .addPlatingBoots(15.0, db * 0.6, 0.25, 10)
        .addPlatingShield(db * 0.9, 0.25, 10)
        .addBinding()
        .addMaille()
        .addLimb(-0.2, -0.5, db, 70)
        .addGrip(-0.2, 0.5, 210)
        .build()
        
    db = 1100
    let osgloglas = createMaterialBuilder('osgloglas')
        .setCraftable(false).setSortOrder(sortOrder++).setTier(4).setNamespace('tinkers_advanced')
        .addStats()
        .addHead(db, 425, 17, 'minecraft:netherite')
        .addHandle(0.4, 1.1, 0.3, 0.4)
        .addPlatingHelmet(18.0, db * 0.7, 0.25, 9)
        .addPlatingChestplate(27.0, db * 1.0, 0.25, 9)
        .addPlatingLeggings(24.0, db * 0.9, 0.25, 9)
        .addPlatingBoots(15.0, db * 0.6, 0.25, 9)
        .addPlatingShield(db * 0.9, 0.25, 9)
        .addBinding()
        .addMaille()
        .addLimb(0.25, -0.2, db, 67)
        .addGrip(0, 0.4, 213)
        .build()
        
    db = 1050
    let irradium = createMaterialBuilder('irradium')
        .setCraftable(false).setSortOrder(sortOrder++).setTier(4).setNamespace('tinkers_advanced')
        .addStats()
        .addHead(db, 475, 18, 'minecraft:netherite')
        .addHandle(-0.2, 1.1, 0.3, 0.4)
        .addPlatingHelmet(19.0, db * 0.7, 0.25, 10)
        .addPlatingChestplate(28.0, db * 1.0, 0.25, 10)
        .addPlatingLeggings(25.0, db * 0.9, 0.25, 10)
        .addPlatingBoots(16.0, db * 0.6, 0.25, 10)
        .addPlatingShield(db * 0.9, 0.25, 10)
        .addBinding()
        .addMaille()
        .addLimb(0.05, -0.2, db, 77)
        .addGrip(-0.2, -0.2, 238)
        .build()
        
    db = 1300
    let protocite = createMaterialBuilder('protocite')
        .setCraftable(false).setSortOrder(sortOrder++).setTier(4).setNamespace('tinkers_advanced')
        .addStats()
        .addHead(db, 475, 20, 'minecraft:netherite')
        .addHandle(-0.3, 1.15, 0.4, 0.5)
        .addPlatingHelmet(19.0, db * 0.7, 0.25, 10)
        .addPlatingChestplate(28.0, db * 1.0, 0.25, 10)
        .addPlatingLeggings(25.0, db * 0.9, 0.25, 10)
        .addPlatingBoots(16.0, db * 0.6, 0.25, 10)
        .addPlatingShield(db * 0.9, 0.25, 10)
        .addBinding()
        .addMaille()
        .addLimb(-0.05, -0.35, db, 84)
        .addGrip(-0.15, -0.3, 238)
        .build()
        
    db = 1600
    let antimatter = createMaterialBuilder('antimatter')
        .setCraftable(false).setSortOrder(sortOrder++).setTier(4).setNamespace('tinkers_advanced')
        .addStats()
        .addHead(db, 550, 20, 'minecraft:netherite')
        .addHandle(0.3, 1.2, 0.5, 0.5)
        .addPlatingHelmet(21.0, db * 0.7, 0.25, 13)
        .addPlatingChestplate(32.0, db * 1.0, 0.25, 13)
        .addPlatingLeggings(28.0, db * 0.9, 0.25, 13)
        .addPlatingBoots(18.0, db * 0.6, 0.25, 13)
        .addPlatingShield(db * 0.9, 0.25, 13)
        .addBinding()
        .addMaille()
        .addLimb(0, -0.2, db, 105)
        .addGrip(0, 0.3, 275)
        .build()
        
    db = 1800
    let neutronite = createMaterialBuilder('neutronite')
        .setCraftable(false).setSortOrder(sortOrder++).setTier(4).setNamespace('tinkers_advanced')
        .addStats()
        .addHead(db, 650, 20, 'minecraft:netherite')
        .addHandle(0.4, 1.4, 0.5, 0.5)
        .addPlatingHelmet(24.0, db * 0.7, 0.25, 14)
        .addPlatingChestplate(35.0, db * 1.0, 0.25, 14)
        .addPlatingLeggings(31.0, db * 0.9, 0.25, 14)
        .addPlatingBoots(20.0, db * 0.6, 0.25, 14)
        .addPlatingShield(db * 0.9, 0.25, 14)
        .addBinding()
        .addMaille()
        .addLimb(0, -0.2, db, 140)
        .addGrip(0, 0.4, 325)
        .addTraits()
        .addDefaultTrait(1, 'tinkers_advanced:supreme_density')
        .addDefaultTrait(1, 'tinkers_advanced:metamorphium')
        .build()

}
