#new syntax where to look how it works
1 messages · Page 1 of 1 (latest)
<@&1201956957406109788>
💬 While you wait, take this time to provide more context and details.
🙇 After a while, hit the Summon Helpers button to ping the helper team. They'll be happy to help you
✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve
It shows all the changes in the changelog
Play around on https://mcstacker.net/1.20.5.php or set the version to 1.20.5 on https://misode.github.io/
To get ready made commands and stuff
All the things are also in the wiki if you look for "components"
They changed item nbt very very much to use components
oh
so hes talking about how the nbt structure changed in mobs and blocks because of the components
thats not new syntax though
phew
scared me
Yes it is new syntax
no new syntax
yes new nbt structure
you still access it with the same command with the same syntax going thru keys like path separating each key with . data get entity @s something.path.separated.by.dots still good old data get with good old sytnax for path just the location of the data elements was changed
so its the new structure, not the syntax 😭
No, it does come with new syntax, /give @s stone{tag:12} is a syntax error now while /give @s stone[custom_data={tag:12}] was a syntax error before
really? doesnt it say unknown key or something
i guess you are right, but that is only present in give command just to access components more easily, but under the hood when you actually work with it using /data command its all the same syntax
Yeah true
so anyone know how this works
<@&935561184806060073> <@&1202694677766348840>
Please note that you still might not immediately get a response since all helpers are human beings and volunteers (and also might be sleeping right now)
@stiff tundra What is your question?
remove line 16
yeah i saw that i removed it but still didnt work
then show the new predicate
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"slots": {
"armor.head": {
"components": {
"minecraft:custom_data": {"hero":1}
}
},
"armor.chest": {
"components": {
"minecraft:custom_data": {"hero":1}
}
},
"armor.legs": {
"components": {
"minecraft:custom_data": {"hero":1}
}
},
"armor.feet": {
"components": {
"minecraft:custom_data": {"hero":1}
}
}
}
}
}
also tried this...
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"head": {
"components": {
"minecraft:custom_data": {"hero":1}
}
},
"chest": {
"components": {
"minecraft:custom_data": {"hero":1}
}
},
"legs": {
"components": {
"minecraft:custom_data": {"hero":1}
}
},
"feet": {
"components": {
"minecraft:custom_data": {"hero":1}
}
}
}
}
}
hahaha
What
nothing
What exactly are you trying to do
How does your item look
When you data get it
The thing misode gave you is correct, just maybe not what you are looking for
give Murkerson minecraft:leather_chestplate[minecraft:custom_data={"hero":1}]
give Murkerson minecraft:leather_leggings[minecraft:custom_data={"hero":1}]
give Murkerson minecraft:leather_boots[minecraft:custom_data={"hero":1}]```
this is what im giving myself
```mcf
??
[35mgive [0mMurkerson [33mminecraft:leather_helmet[33m[[37mminecraft:custom_data[34m=[35m{[32m"hero"[34m:[32m1[35m}[33m]
[35mgive [0mMurkerson [33mminecraft:leather_chestplate[33m[[37mminecraft:custom_data[34m=[35m{[32m"hero"[34m:[32m1[35m}[33m]
[35mgive [0mMurkerson [33mminecraft:leather_leggings[33m[[37mminecraft:custom_data[34m=[35m{[32m"hero"[34m:[32m1[35m}[33m]
[35mgive [0mMurkerson [33mminecraft:leather_boots[33m[[37mminecraft:custom_data[34m=[35m{[32m"hero"[34m:[32m1[35m}[33m]
If i do this en then check the data of the item it removes the “”
That was for testing to see it that works
The normal [custom_data={hero:1}] doesnt work either
This thread has been inactive for some time, so I'm going to archive it.
If you're still using the thread, just send a message and it'll pop back on the thread list.