#What is the word to reference the username of a player head pls ?
1 messages · Page 1 of 1 (latest)
oh right
missing namespace
do
Item.components."minecraft:profile".name
should work
np
How I can save my data string in a storage ??
data modify storage <storage> set from <> Name
Ahhh ok thx
because there arent any with that?
Also players can't have custom data
can you /data get the entity you target and show us its nbt structure ?
isn't the component namespaced in the path? So components.minecraft:profile
i think you mean your custom data in your components
its Item:{components:{custom_data:{sleeping:"username"}}}
im texting from phone rn hope that's correct
Item.components."minecraft:profile".name is correct