Hello,
I'm looking for help today because i've an issue.
I'm trying to make a custom armor with some textures but i can't change the properties of my armor (armor protection, armor thoughness, …), it doesn't work and I don't understand why ?
Maybe anyone can help me.
Here my armor config :
info:
namespace: cosmetic_armors
armors_rendering:
galaxy_armor:
color: "#0033db"
layer_1: galaxy/layer_1
layer_2: galaxy/layer_2
emissive_1: galaxy/emissive_1
emissive_2: galaxy/emissive_2
use_color: false
animation:
interpolation: true
items:
galaxy_helmet:
enabled: true
display_name: <gradient:#AA00AA:#00AAAA><b>✩ Galaxy Helmet ✩</b>
permission: cosmetic_armors.galaxy_armor
resource:
material: DIAMOND_HELMET
generate: true
textures:
- galaxy/helmet
durability:
max_custom_durability: 447
events:
wear:
potion_effect:
type: NIGHT_VISION
duration: 1000000
amplifier: 0
unwear:
remove_potion_effect:
type: NIGHT_VISION
specific_properties:
armor:
slot: head
custom_armor: galaxy_armor
attribute_modifiers:
head:
armor: 4
armorToughness: 3
galaxy_chestplate:
enabled: true
display_name: <gradient:#AA00AA:#00AAAA><b>✩ Galaxy Chestplate ✩</b>
permission: cosmetic_armors.galaxy_armor
resource:
generate: true
textures:
- galaxy/chestplate
durability:
max_custom_durability: 662
events:
wear:
potion_effect:
type: HEALTH_BOOST
duration: 1000000
amplifier: 1
unwear:
remove_potion_effect:
type: HEALTH_BOOST
specific_properties:
armor:
slot: chest
custom_armor: galaxy_armor
attribute_modifiers:
chest:
armor: 9
armorToughness: 3
galaxy_leggings:
enabled: true
display_name: <gradient:#AA00AA:#00AAAA><b>✩ Galaxy Leggings ✩</b>
permission: cosmetic_armors.galaxy_armor
resource:
generate: true
textures:
- galaxy/leggings
durability:
max_custom_durability: 621
events:
wear:
potion_effect:
type: REGENERATION
duration: 1000000
amplifier: 0
unwear:
remove_potion_effect:
type: REGENERATION
specific_properties:
armor:
slot: legs
custom_armor: galaxy_armor
attribute_modifiers:
legs:
armor: 9
armorToughness: 3
galaxy_boots:
enabled: true
display_name: <gradient:#AA00AA:#00AAAA><b>✩ Galaxy Boots ✩</b>
permission: cosmetic_armors.galaxy_armor
resource:
generate: true
textures:
- galaxy/boots
durability:
max_custom_durability: 540
events:
wear:
potion_effect:
type: SPEED
duration: 1000000
amplifier: 1
unwear:
remove_potion_effect:
type: SPEED
specific_properties:
armor:
slot: FEET
custom_armor: galaxy_armor
attribute_modifiers:
feet:
armor: 4
armorToughness: 3
IG :
When i reload the plugin, my armor as a same properties than a leather armor but it seems to be better than an netherite armor. The attribute_modifiers part seems not working. Have you some tips to fix it ?
You can find a screen IG associate to my request just here :