#What is the word to reference the username of a player head pls ?

1 messages · Page 1 of 1 (latest)

slate shoal
#

What is the word to reference the username of a player head pls ?

slate shoal
night sun
slate shoal
#

don't working

#

im in 1.21.11

night sun
#

it's Item

#

not item

slate shoal
#

Don't working

night sun
slate shoal
night sun
#

oh right

#

missing namespace

#

do

#

Item.components."minecraft:profile".name

#

should work

slate shoal
#

ok i try it

#

Yes thx !

night sun
#

np

slate shoal
#

How I can save my data string in a storage ??

night sun
#

data modify storage <storage> set from <> Name

slate shoal
#

Ahhh ok thx

slate shoal
#

Why this not working ????

#

my custom data is {sleeping:username}

night sun
#

because there arent any with that?

pastel valve
#

Also players can't have custom data

slate shoal
#

Ah ok

#

So how i can set a tag on a player_head ?

cursive plover
steep dew
#

isn't the component namespaced in the path? So components.minecraft:profile

night sun
#

its Item:{components:{custom_data:{sleeping:"username"}}}

#

im texting from phone rn hope that's correct

pastel valve
slate shoal
#

I try this

#

Nice, it's working

#

Thx

worn fieldBOT