#how can i get a invisible item frame in skript?

1 messages · Page 1 of 1 (latest)

wispy sentinel
#

[11:06:47] [Render thread/INFO]: [System] [CHAT] "{Invisible:1b}" is not an nbt compound
[11:06:47] [Render thread/INFO]: [System] [CHAT] Linie: set {_item} to item frame with nbt "{Invisible:1b}"

why doesnt this work?

command /iif:
    aliases: /invitemframe, /invizibleitemframe
    usage: /iif
    permission: *
    trigger:
        play sound "block.grass.break" to player
        set {_item} to item frame with nbt "{Invisible:1b}" 
        give player {_item}
        stop
hollow prism
#

Try set {_item} to item frame with nbt from {Invisible:1b}"

simple holly
#

There is an item in Minecraft called Minecraft invisible item frame

simple holly
#

/give @p item_frame[entity_data={id:"minecraft:item_frame",Invisible:1b}] 1

#

is using mc commands

polar trail
#

i used to keep trying to get it with commands but i think they removed them in resent updates or smth

polar trail
#

oh i guess i'm wrong then

wispy sentinel
wispy sentinel
# simple holly They did not
[11:01:29] [Render thread/INFO]: [System] [CHAT] [Skript] Lade MoreStuff.sk neu...
[11:01:29] [Render thread/INFO]: [System] [CHAT] Linie 17: (MoreStuff.sk)
[11:01:29] [Render thread/INFO]: [System] [CHAT]     Can't understand this condition/effect: make player execute command "/give @p item_frame[entity_data={id:"minecraft:item_frame",Invisible:1b}] 1" as op
[11:01:29] [Render thread/INFO]: [System] [CHAT]     Linie: make player execute command "/give @p item_frame[entity_data={id:"minecraft:item_frame",Invisible:1b}] 1" as op
ripe arch
wispy sentinel
magic birch
#

lol

wispy sentinel
wispy sentinel
#

am i in skript forum to help me fix the issue or not?

wispy sentinel
#

im not

#

wtf

magic birch
#

also it aint hard just make it give u a item frame with new

#

nbt

#

skbee

#

look at docs 💀

wispy sentinel
#

never did before, thanks for this absolutly unique idea

#

🧠

magic birch
#

u clearly havent looked at docs

wispy sentinel
#

i did

#

omg

#

if

#

you

#

dont

#

wanna

#

help me

#

then

#

stfu

magic birch
#

example set {_nbt::*} to compound list tag "Inventory" of file nbt of "world/playerdata/some-players-uuid.dat" loop {_nbt::*} set {_i} to item from nbt loop-value

magic birch
#

anyway heres ur answer idiot ```give player diamond sword with nbt from "{""minecraft:food"":{nutrition:10,saturation:2.0f}}"
set {_n} to nbt from "{custom_data:{points:10}}"
set {_i} to netherite axe with nbt {_n}
give player diamond pickaxe with nbt from "{""minecraft:damage"":500}"
give player 30 apples with nbt from "{""minecraft:max_stack_size"":10}"

#These two have the same outcome, just showing the use of custom and how it places in the custom_data component.
give player diamond sword with nbt from "{""minecraft:custom_data"":{points:10}}"
give player diamond sword with custom nbt from "{points:10}"```

wispy sentinel
#

doesnt work

magic birch
#

DO U EVEN GOT SKBEE

wispy sentinel
#

YES

#

LATEST

magic birch
#

the skript above will work

#

figure it out

ripe arch
#

send /sk info

wispy sentinel
ripe arch
# wispy sentinel
  • you're using 1.20.4 nbt syntax but you're on 1.21.1, so use "{entity_data:{id:""minecraft:item_frame"",Invisible:1b}}"
  • skrayfall and skquery are both outdated and most of their features are now built-in to vanilla skript
  • the reason why you got the error in the first place is because you have to use nbt from (you used just nbt)

this effect command works on a 1.21 server:
!give player item frame with nbt from "{entity_data:{id:""minecraft:item_frame"",Invisible:1b,Invulnerable:1b}}"