#how do i hide item flags on 1.20.6 with skript?
1 messages · Page 1 of 1 (latest)
set cobblestone named "&7default", iron pickaxe with all item flags named "&eMiner
@shut arrow
What i know is
give player 1 cobblestone of mending with all item flags named “blah” with lore “blah”,”blah”
Thats order
Without unbreakable
I forgot
^
give player iron pickaxe with all item flags named "test" also doesnt wrok D:
Hmm odd
maybe downgrading skbee?
bro, are u want to hide the flags?
yes
“With all flags” try this
Put it before the name
it is?
it should be the last
already
to the end
To cobblestone with all item flags named “&7default”
with nbt "{Hideflags:63}"
same error
the cobble is fine, i just want to hide it for the pickaxe
bc its a list
that i loop
to fill an inventory
i already tested it with just the pickaxe, and it also didnt owrk XD
What server version
1.20.6, i already tought it could be because of that
thats with the example from the wiki
set {sword} to diamond sword with all item flags
Set {sword} to diamond sword of mending with all item flags named “&bdiamondsword”
Try this
thanks anyways
Alg i tried
its complicated, please read it
so you're trying to hide attributes of an item?
ye
yeah don't listen to them, with all item flags should always come last
with all item flags doesn't hide attributes in 1.20.5+
so
it won't work
you need to find a new way
find the hidden attribute modifiers section
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}``` how do i install it?
?
you need skript-reflect btw
it's just a piece of code
do you not know what this section is?
Theres alpt that i dont understand
Not rl
That's pre 1.20.5 hues on 1.20.6 pls read title
Please read the messages lol, it was already said its only for 1.20.5
Also dosnt work for 1.20.5 lol, it only works for 1.20.4 or below
As for this, put it in you script, and simply do set {_item} to (old item here) with hidden attributes
So like the old item is just the itemtype?
yes
Ty
it does not show the item in the gui: set {_ipick} to iron pickaxe named "&eMiner" set {_ipick} to iron pickaxe with hidden attributes
worked
send me the skript and i fix it for you