Los formatos actualizados garantizan el correcto funcionamiento de las armaduras. Solo necesitas copiar y pegar, pero es importante tener en cuenta algunos detalles:
- El identificador: Asegúrate de cambiarlo para evitar conflictos.
- minecraft:durability: Modifícalo según el nivel de durabilidad que desees.
- minecraft:icon: Representa el ítem, es necesario cambiar.
- minecraft:repairable: Añade los ítems adecuados que permitirán reparar la armadura.
- minecraft:wearable: En la sección de protección, ajusta los valores según tu preferencia.
Otro aspecto importante es asegurarte de copiar el código correcto para cada pieza de armadura, ya que cada una tiene diferencias en el atributo slot. Por ejemplo, para el casco es slot.armor.head, y este valor cambia según la pieza que estés configurando.
Helmet:
{
"format_version": "1.20.80",
"minecraft:item": {
"description": {
"identifier": "sns:adamantite_helmet",
"menu_category": {
"category": "equipment",
"group": "itemGroup.name.helmet"
}
},
"components": {
"minecraft:max_stack_size": 1,
"minecraft:enchantable": {
"value": 9,
"slot": "armor_head"
},
"minecraft:durability": {
"max_durability": 1600,
"damage_chance": {
"min": 60,
"max": 100
}
},
"minecraft:icon": {
"textures": {
"default": "sns_adamantite_helmet"
}
},
"minecraft:wearable": {
"slot": "slot.armor.head",
"protection": 9
},
"minecraft:repairable": {
"repair_items": [
{
"items": [
"sns:adamantite_ingot"
],
"repair_amount": "query.max_durability*0.25"
},
{
"items": [
"sns:adamantite_helmet"
],
"repair_amount": "context.other->query.remaining_durability+0.12*context.other->query.max_durability"
}
]
},
"minecraft:tags": {
"tags": [
"minecraft:is_armor",
"minecraft:trimmable_armors"
]
}
}
}
}
Chestplate:
{
"format_version": "1.20.80",
"minecraft:item": {
"description": {
"identifier": "sns:adamantite_chestplate",
"menu_category": {
"category": "equipment",
"group": "itemGroup.name.chestplate"
}
},
"components": {
"minecraft:max_stack_size": 1,
"minecraft:enchantable": {
"value": 9,
"slot": "armor_torso"
},
"minecraft:durability": {
"max_durability": 1600,
"damage_chance": {
"min": 60,
"max": 100
}
},
"minecraft:icon": {
"textures": {
"default": "sns_adamantite_chestplate"
}
},
"minecraft:wearable": {
"slot": "slot.armor.chest",
"protection": 10
},
"minecraft:repairable": {
"repair_items": [
{
"items": [
"sns:adamantite_ingot"
],
"repair_amount": "query.max_durability*0.25"
},
{
"items": [
"sns:adamantite_chestplate"
],
"repair_amount": "context.other->query.remaining_durability+0.12*context.other->query.max_durability"
}
]
},
"minecraft:tags": {
"tags": [
"minecraft:is_armor",
"minecraft:trimmable_armors"
]
}
}
}
}
Leggings:
{
"format_version": "1.20.80",
"minecraft:item": {
"description": {
"identifier": "sns:adamantite_leggings",
"menu_category": {
"category": "equipment",
"group": "itemGroup.name.leggings"
}
},
"components": {
"minecraft:max_stack_size": 1,
"minecraft:enchantable": {
"value": 9,
"slot": "armor_legs"
},
"minecraft:durability": {
"max_durability": 1600,
"damage_chance": {
"min": 60,
"max": 100
}
},
"minecraft:icon": {
"textures": {
"default": "sns_adamantite_leggings"
}
},
"minecraft:wearable": {
"slot": "slot.armor.legs",
"protection": 10
},
"minecraft:repairable": {
"repair_items": [
{
"items": [
"sns:alexandrite_ingot"
],
"repair_amount": "query.max_durability*0.25"
},
{
"items": [
"sns:adamantite_leggings"
],
"repair_amount": "context.other->query.remaining_durability+0.12*context.other->query.max_durability"
}
]
},
"minecraft:tags": {
"tags": [
"minecraft:is_armor",
"minecraft:trimmable_armors"
]
}
}
}
}
Boots:
{
"format_version": "1.20.80",
"minecraft:item": {
"description": {
"identifier": "sns:adamantite_boots",
"menu_category": {
"category": "equipment",
"group": "itemGroup.name.boots"
}
},
"components": {
"minecraft:max_stack_size": 1,
"minecraft:enchantable": {
"value": 9,
"slot": "armor_feet"
},
"minecraft:durability": {
"max_durability": 1600,
"damage_chance": {
"min": 60,
"max": 100
}
},
"minecraft:icon": {
"textures": {
"default": "sns_adamantite_boots"
}
},
"minecraft:wearable": {
"slot": "slot.armor.feet",
"protection": 9
},
"minecraft:repairable": {
"repair_items": [
{
"items": [
"sns:adamantite_ingot"
],
"repair_amount": "query.max_durability*0.25"
},
{
"items": [
"sns:adamantite_boots"
],
"repair_amount": "context.other->query.remaining_durability+0.12*context.other->query.max_durability"
}
]
},
"minecraft:tags": {
"tags": [
"minecraft:is_armor",
"minecraft:trimmable_armors"
]
}
}
}
}