#How do i hide the upgrade tag section on upgraded netherite armor?

1 messages · Page 1 of 1 (latest)

runic sleet
#

give player {customitems::%arg-2%} with all item flags hidden
i can't get anything to work

true pendant
#

with all itemflags

#

Though the hide attributes flag is broken on 1.20.5+ afaik

runic sleet
#

rip

#

im on 1.21

#

when will it be fixed

runic sleet
#

that didn't work

#

i didn't get any errors but the attributes are still there

#
    get:
        set {_i} to expr-1.getRandom()
        set {_meta} to {_i}.getItemMeta()
        {_meta}.addItemFlags(hide attributes)
        set {_map} to {_i}.getType().getDefaultAttributeModifiers()
        loop ...{_map}.keySet():
            {_meta}.addAttributeModifier(loop-value, {_map}.get(loop-value).get(0))
        {_i}.setItemMeta({_meta})
        return {_i}

command /customitems <text> <text>:
    permission: *
    trigger:
        if arg-1 is "create":
            set {customitems::%arg-2%} to player's tool
            send message "&aCustom item created!" to player
        if arg-1 is "give":
            give player {customitems::%arg-2%} with hidden attributes
            send message "&aCustom item granted!" to player
        if arg-1 is "list":
            send message "%{customitems::*}%" to player```
#

im pretty sure i used it right

runic sleet