Solved hide all flags

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

cdoxy

Member
Aug 9, 2024
42
2
8
26
i have been searching for so long and i always get the same answer.
people say to use SkBee's "%item% with all flags hidden" but that never works for me
error: "Can't understand this condition/effect."

i am really frustrated because i can't find anything that will work.
and no, using nbt never worked either.
 
i have skbee 3.10.1, but i already tried using the skbee expression and it didn't work.
 

command /hideall:
trigger:
if player's tool isn't air:
set {%uuid of player%tool} to player's tool
set player's held item to air
set player's held item to {%uuid of player%tool} with all flags hidden
delete {%uuid of player%tool}
 
try this?
Code:
command /hideall:
    trigger:
        if player's tool is not air:
            set {_item} to player's tool
            set player's tool to air
            set {_nbt} to nbt of {_item}
            set nbt compound "tag" of {_nbt} to compound from "{HideFlags:127}"
            set {_hiddenItem} to item from nbt {_nbt}
            set player's tool to {_hiddenItem}
            
            send "&aYour item's flags are now hidden!" to player
 
doesn't work:

"can't understand this condition/effect: set nbt compound "tag" of {_nbt} to compound from "{HideFlags:127}" "
 
ooh what might be your problem is that I use skbee 3.6.1 and it works there. also I find that for the later versions of skbee there are fewer people asking questions. so I think it would be better for you to downgrade your skbee and see if that works.
 
is there a way to just hide all of them?

if so how
Python:
set {_iron_sword} to iron sword
enchant {_iron_sword} with sharpness 5
apply attribute modifier to {_iron_sword}:
    attribute: scale
    id: "minecraft:my_hand_scale"
    slot: mainhand_slot_group
    amount: 0
    operation: add_number
set item flags of {_iron_sword} to hide enchantments and hide attributes
 
Python:
set {_iron_sword} to iron sword
enchant {_iron_sword} with sharpness 5
apply attribute modifier to {_iron_sword}:
    attribute: scale
    id: "minecraft:my_hand_scale"
    slot: mainhand_slot_group
    amount: 0
    operation: add_number
set item flags of {_iron_sword} to hide enchantments and hide attributes
again no errors but still does nothing
 
i have been searching for so long and i always get the same answer.
people say to use SkBee's "%item% with all flags hidden" but that never works for me
error: "Can't understand this condition/effect."

i am really frustrated because i can't find anything that will work.
and no, using nbt never worked either.
New SkBee Expression:
Code:
%item% with itemflag all item flags