The Count tag full item id is required in every ArmorItems object.
/execute if entity @e[type=minecraft:armor_stand,distance=..5,nbt={ArmorItems:[{id:"minecraft:golden_boots",Count:1b},{id:"minecraft:golden_leggings",Count:1b},{id:"minecraft:golden_chestplate"},{id:"minecraft:golden_helmet",Count:1b}]}]
I wrote the commands in the same order they were written on the website you linked. Follow the layout instructions from the website but use the commands I wrote instead. So the last command (/scoreboard players add @e[name=PLATFORM] platform 1) should be in a repeating command block, the second to last command should be in a chain command block and so on.
Here are all the commands from the page updated to the new syntax:
/scoreboard objectives add platform dummy
/summon minecraft:armor_stand ~ ~ ~ {CustomName:"\"PLATFORM\"",Marker:1b,Invisible:1,NoGravity:1}
/execute at @e[name=PLATFORM] run fill ~1 ~ ~1 ~-1 ~ ~-1 minecraft:white_stained_glass replace air
/execute at @e[name=PLATFORM] run fill ~2 ~ ~2 ~-2 ~ ~-2 air replace minecraft:white_stained_glass
/execute as @e[name=PLATFORM,scores={platform=101..200}] at @s run tp ~ ~ ~-.2
/execute as @e[name=PLATFORM,scores={platform=1..100}] at @s run tp ~ ~ ~.2
/scoreboard players reset @e[name=PLATFORM,scores={platform=201..}] platform
/scoreboard players add @e[name=PLATFORM] platform 1
The only issue is getting the player's name in text form. The CustomName tag doesn't seem to support the selector option when using JSON formatting ({"selector"."@p"}) so I don't think this can be done directly. Someone on Reddit pointed out a really clever workaround using sings. Signs do support the selector option so you can use them to get the player's name in text form and then you can copy that text to the armor stand's CustomName tag.
To get the player's name on the sign:
/data modify block <sign_x> <sign_y> <sign_z> Text1 set value '{"selector":"@p"}'
To copy the text to the armor stand:
/data modify entity <armor_stand> CustomName set from block <sign_x> <sign_y> <sign_z> Text1
But I checked it and apparently it stores the display name tag for items exactly as you enter it.
The command will be able to detect the value but it won't be displayed in-game. The reason is that the value has to be stored as a string. And to be a string, it needs to have a pair of double-quotes around it. If you use Name:"stick", the game will store that value as stick. But if you use Name:"\"stick\"", the game will store that value as "stick" (which is the correct format). And you need to "escape" the inner pair of double quotes because the game can't store a string inside another string. I just wanted to explain that so anyone reading this knows why the backslashes are required.
Anyway, back to the original problem. The NBT data should be inside the nbt tag in the selector. Here is the correct version:
/execute positioned -630 62 348 if entity @p[distance=..7,nbt={Inventory:[{id:"minecraft:name_tag",tag:{display:{Name:'{"text":"substation"}'}}}]}]
Also, I assumed that the nametag was renamed using an anvil so I changed the name format to '{"text":"substation"}' because that's the format anvils use. You can change it if you didn't use an anvil.
The total amount is stored in the Coins objective of the fake player global. So you should decrease global's objective instead of the player's objective:
/execute if score global Coins matches 5.. run give @p minecraft:iron_sword
/scoreboard players remove global Coins 5
I thought the fourth command block had something to do with the scoreboard, my bad.
It does. It displays the value of the temp objective in the chat. Ptolemy2002's system uses two objectives, temp, and coins. You need to create those two objectives before running the system if you haven't already.
I know I used SEUS before and it has awesome graphics but it is really performance intensive. As much as I like SEUS and other shaders, I would like to see an official graphics update from Mojang.
1
The Count tag full item id is required in every ArmorItems object.Thanks for the correction, eglaios.
0
Did you paste them in the right order?
I wrote the commands in the same order they were written on the website you linked. Follow the layout instructions from the website but use the commands I wrote instead. So the last command (/scoreboard players add @e[name=PLATFORM] platform 1) should be in a repeating command block, the second to last command should be in a chain command block and so on.
0
Have you tried enabling the AI while rotating the zombie and then disabling it afterward?
0
Here are all the commands from the page updated to the new syntax:
0
The only issue is getting the player's name in text form. The CustomName tag doesn't seem to support the selector option when using JSON formatting ({"selector"."@p"}) so I don't think this can be done directly. Someone on Reddit pointed out a really clever workaround using sings. Signs do support the selector option so you can use them to get the player's name in text form and then you can copy that text to the armor stand's CustomName tag.
To get the player's name on the sign:
To copy the text to the armor stand:
0
Cool system. You could limit the number of players that can use the system at the same time to prevent it from breaking. Sort of like a queue.
The minecarts can be stopped using:
But I have no idea how the queue would work lol.
2
Here's a list of all the stat types: https://minecraft.gamepedia.com/Statistics#Statistic_types_and_names
and right below that is a list of all the custom stats.
1
The command will be able to detect the value but it won't be displayed in-game. The reason is that the value has to be stored as a string. And to be a string, it needs to have a pair of double-quotes around it. If you use Name:"stick", the game will store that value as stick. But if you use Name:"\"stick\"", the game will store that value as "stick" (which is the correct format). And you need to "escape" the inner pair of double quotes because the game can't store a string inside another string. I just wanted to explain that so anyone reading this knows why the backslashes are required.
Anyway, back to the original problem. The NBT data should be inside the nbt tag in the selector. Here is the correct version:
Also, I assumed that the nametag was renamed using an anvil so I changed the name format to '{"text":"substation"}' because that's the format anvils use. You can change it if you didn't use an anvil.
0
The JSON formatting is optional. You can use plain text but it has to be stringified (Name:"\"someName\"").
2
The scoreboard system has some built-in criteria for detecting actions like walking, sprinting, jumping, sneaking, etc.
Create an objective like this:
The value of this objective will increase every time the player sneaks. Now all you need is a repeating command block with the detection command:
and a chain command block that will reset the value:
0
You need to store the amount of string the player has, into a scoreboard objective so you can test for a range.
Create an objective:
Store the number into the objective:
And now you can use that objective like this:
1
The total amount is stored in the Coins objective of the fake player global. So you should decrease global's objective instead of the player's objective:
0
It does. It displays the value of the temp objective in the chat. Ptolemy2002's system uses two objectives, temp, and coins. You need to create those two objectives before running the system if you haven't already.
I manually set the value of my temp objective to 1 and ran the fourth command (see included screenshot).
1
0
Are these chunks predetermined?
if so, you can keep them loaded using /forceload.