when using a custom item for example
/give @p netherite_chestplate[attribute_modifiers=[{id:"armor",type:"armor",amount:100,operation:"add_value",slot:"chest",display:{type:"default"}},{id:"armor_toughness",type:"armor_toughness",amount:100,operation:"add_value",slot:"chest",display:{type:"default"}}]] 1
and the following cmds give these results
"/attribute @s minecraft:armor get" caps out at 30.0
"/attribute @s minecraft:armor_toughness get" caps out at 20.0
ideally they should show 100 for both
why is this weird? 🧐
when trying the same thing with these cmds the results change:
“/attribute @s minecraft:armor modifier value get minecraft:armor“ gives the correct result 100
“/attribute @s minecraft:armor_toughness modifier value get minecraft:armor_toughness“ gives the correct result 100
if this is intentional i would like to hear why 😁
Environment
java
commands
command blocks
datapacks
Please edit your report to change the Affected Version to the version shown on the Minecraft title screen