Hello everyone,
I'm asking for your help because I'm trying to import some armour, but I'm having a problem. The armour I've imported looks like leather and, what's more, it's coloured even though I said it shouldn't be used.
Here's my config file :
info:
namespace: armor
armors_rendering:
basic_chainmail:
color: "#73ff00"
layer_1: armor/basic_chainmail/layer_1
layer_2: armor/basic_chainmail/layer_2
use_color: false
items:
chainmail_helmet:
display_name: display-name-chainmail_helmet
resource:
generate: true
textures:
- item/basic_chainmail/chainmail_helmet
durability:
max_custom_durability: 100
specific_properties:
armor:
slot: HEAD
custom_armor: basic_chainmail
attribute_modifiers:
head:
armor: 2
armorToughness: 1
As well as the layout of the items in the folders:
ItemsAdder
contents
armor
config
_dictionaries
fr.yml
armor.yml
textures
armor
basic_chainmail
layer_1
layer_2
item
basic_chainmail
chainmail_boots.png
chainmail_chestplate.png
chainmail_helmet.png
Of course I took the time to read the wiki: https://itemsadder.devs.beer/plugin-usage/adding-content/armors/custom-textured-armor and I even took inspiration from the ‘Complete final yml configuration’, but even with that, it still doesn't work.
EDIT:
Well after checking and several tests:
I've gone back to a new suit of armour, because the original one didn't have any leggings, so I decided to go for a full suit
The layout doesn't change, so what I said above about the folder layout is the same
So after importing everything into my yml :
And changing the colour (the id) because I'm thinking that it probably has an effect
info:
namespace: armor
armors_rendering:
black_knight:
color: "#6c6a32"
layer_1: armor/black_knight/layer_1
layer_2: armor/black_knight/layer_2
use_color: false
items:
black_knight_helmet:
display_name: display-name-black_knight_helmet
resource:
generate: true
textures:
- item/black_knight/black_knight_helmet
durability:
max_custom_durability: 100
specific_properties:
armor:
slot: HEAD
custom_armor: black_knight
attribute_modifiers:
head:
armor: 2
armorToughness: 1
black_knight_chestplate:
display_name: display-name-black_knight_chestplate
resource:
generate: true
textures:
- item/black_knight/black_knight_chestplate
durability:
max_custom_durability: 100
specific_properties:
armor:
slot: CHEST
custom_armor: black_knight
attribute_modifiers:
chest:
armor: 2
armorToughness: 1
black_knight_leggings:
display_name: display-name-black_knight_leggings
resource:
generate: true
textures:
- item/black_knight/black_knight_leggings
durability:
max_custom_durability: 100
specific_properties:
armor:
slot: LEGS
custom_armor: black_knight
attribute_modifiers:
legs:
armor: 2
armorToughness: 1
black_knight_boots:
display_name: display-name-black_knight_boots
resource:
generate: true
textures:
- item/black_knight/black_knight_boots
durability:
max_custom_durability: 100
specific_properties:
armor:
slot: FEET
custom_armor: black_knight
attribute_modifiers:
feet:
armor: 2
armorToughness: 1
I'm having the same problem with leather armour in a different colour 😭