How to get nbt of head in Check item?
I use /data get entity @s and my head is:
{id: "minecraft:player_head", tag: {SkullOwner: {Properties: {textures: [{Value: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMjBlMTNkMTg0NzRmYzk0ZWQ1NWFlYjcwNjk1NjZlNDY4N2Q3NzNkYWMxNmY0YzNmODcyMmZjOTViZjlmMmRmYSJ9fX0="}]}, Id: [I; 67411088, -739686879, -1666252800, 178927716]}}, Count: 62b}
I need to check value of head
#CheckItem get NBT Head
1 messages · Page 1 of 1 (latest)
@eternal merlin not sure if we have an exact way to check @slender ruin can you correct me on this?
what do you mean by value
eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMjBlMTNkMTg0NzRmYzk0ZWQ1NWFlYjcwNjk1NjZlNDY4N2Q3NzNkYWMxNmY0YzNmODcyMmZjOTViZjlmMmRmYSJ9fX0
There isn't currently a way to return specific nbt data, but you should be able to get the info from %checkitem_getinfo:mainhand_nbtstrings:%
If it shows via that placeholder then you could further extract it via javascript
not worked. error
?paste
Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
• HelpChat Paste - How To Use
Requested by: cj89898 • paste
yes
/papi parse me %checkitem_getinfo:mainhand_nbtstrings:%
result
An internal error occurred while attempting to perform this command
get the latest checkitem I just uploaded it @eternal merlin https://api.extendedclip.com/expansions/checkitem/
yep, tested myself it works
but as I said you gotta use javascript to extract the specific value
currenly haven't had time to look into adding the support yet https://github.com/PlaceholderAPI/CheckItem-Expansion/issues/55
Here was an example I did extracting RepairCost:# #1044277970317086740 message
Now it worked, but i dont understand how to check 😦
u can give me template to check Player Head VALUE:?
I would be very grateful to you for that
''/papi parse me %checkitem_amount_nbtstrings:Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODllOGI1ZjE1YTliMjlhMWUzODljOTUyMThmZDM3OTVmMzI4NzJlNWFlZTk0NjRhNzY0OTVjNTI3ZDIyNDUifX19%''
Count all head in player inventory not with this value 😦
nbtstrings:SkullOwner..textures..Value=ey... I think?
/papi parse me %checkitem_amount_nbtstrings:SkullOwner...Properties.textures..Value=eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODllOGI1ZjE1YTliMjlhMWUzODljOTUyMThmZDM3OTVmMzI4NzJlNWFlZTk0NjRhNzY0OTVjNTI3ZDIyNDUifX19%
return 0
oh uh
some dots are in the wrong place
/papi parse me %checkitem_amount_nbtstrings:SkullOwner..Properties..textures..Value=eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODllOGI1ZjE1YTliMjlhMWUzODljOTUyMThmZDM3OTVmMzI4NzJlNWFlZTk0NjRhNzY0OTVjNTI3ZDIyNDUifX19%
Still 0 😦
i change Value= to Value: and return all amount of any heads in player inv
hmm, it seems double nested
maybe /papi parse me %checkitem_amount_nbtstrings:SkullOwner..Properties..textures....Value=eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODllOGI1ZjE1YTliMjlhMWUzODljOTUyMThmZDM3OTVmMzI4NzJlNWFlZTk0NjRhNzY0OTVjNTI3ZDIyNDUifX19%
but not too confident