
Подскажите пожалуйста как можно переписать данный конфиг так чтобы он работал сразу на несколько сетов брони. Моя проблема заключается в том что фактически новые предметы добавляются с нужной мне текстурой, но при этом сама текстура брони никак не изменяется с добавлением новых текстур и переписыванию под них конфигов. Оставляю два конфига для брони, надеюсь на вашу помощь!
my_armor21.yml:
info:
namespace: my_items
armors_rendering:
my_armor:
color: "#d60000"
layer_1: armor/my_armor/leather_layer_1_21
layer_2: armor/my_armor/leather_layer_2_21
animation:
speed: 30
interpolation: true
items:
my_armor_helmet:
display_name: Helmet#21
permission: my_armor
resource:
generate: true
textures:
- item/my_armor/helmet_21
durability:
max_custom_durability: 275
specific_properties:
armor:
slot: head
custom_armor: my_armor
attribute_modifiers:
head:
armor: 9
armorToughness: 1
my_armor_chestplate:
display_name: Chestplate#21
permission: my_armor
resource:
generate: true
textures:
- item/my_armor/chestplate_21
durability:
max_custom_durability: 400
specific_properties:
armor:
slot: chest
custom_armor: my_armor
attribute_modifiers:
chest:
armor: 7
armorToughness: 1
my_armor_leggings:
display_name: Leggings#21
permission: my_armor
resource:
generate: true
textures:
- item/my_armor/leggings_21
durability:
max_custom_durability: 375
specific_properties:
armor:
slot: legs
custom_armor: my_armor
attribute_modifiers:
legs:
armor: 5
armorToughness: 1
my_armor_boots:
display_name: Boots#21
permission: my_armor
resource:
generate: true
textures:
- item/my_armor/boots_21
durability:
max_custom_durability: 325
specific_properties:
armor:
slot: FEET
custom_armor: my_armor
attribute_modifiers:
feet:
armor: 3
armorToughness: 1
my_armor22.yml:
info:
namespace: my_items
armors_rendering:
my_armor:
color: "#d60000"
layer_1: armor/my_armor/leather_layer_1_22
layer_2: armor/my_armor/leather_layer_2_22
animation:
speed: 30
interpolation: true
items:
my_armor_helmet22:
display_name: Helmet#22
permission: my_armor
resource:
generate: true
textures:
- item/my_armor/helmet_22
durability:
max_custom_durability: 275
specific_properties:
armor:
slot: head
custom_armor: my_armor
attribute_modifiers:
head:
armor: 9
armorToughness: 1
my_armor_chestplate22:
display_name: Chestplate#22
permission: my_armor
resource:
generate: true
textures:
- item/my_armor/chestplate_22
durability:
max_custom_durability: 400
specific_properties:
armor:
slot: chest
custom_armor: my_armor
attribute_modifiers:
chest:
armor: 7
armorToughness: 1
my_armor_leggings22:
display_name: Leggings#22
permission: my_armor
resource:
generate: true
textures:
- item/my_armor/leggings_22
durability:
max_custom_durability: 375
specific_properties:
armor:
slot: legs
custom_armor: my_armor
attribute_modifiers:
legs:
armor: 5
armorToughness: 1
my_armor_boots22:
display_name: Boots#22
permission: my_armor
resource:
generate: true
textures:
- item/my_armor/boots_22
durability:
max_custom_durability: 325
specific_properties:
armor:
slot: FEET
custom_armor: my_armor
attribute_modifiers:
feet:
armor: 3
armorToughness: 1