Hello, I'm Minersof49ers. I am currently having issues with a custom block mechanism that I have been working on.
So here's what the mechanic is:
I have an endermite that I can summon with a custom name, yada yada yada... Long story short, It places both a gold block and an armorstand named "Block." Now, on to why this is important. You see, I want to make it to where when you step on this gold block, it summons falling sand to look like a gold block, and removes the floor, essentially making a falling trap. This part is easy, BUT, I want this to work to where whenever you step on one trapped block, it triggers any others touching it. I.E. I step on one trapped (gold) block, and it triggers any others that are next to it, and the ones next to those, etc..
Your second and third /execute commands are trying to find an armor stand within 1 block of the command block. You'd need to remove the "r=1" to have those work world-wide.
If the armor stands have "Marker" set to 1, then it's possible that they are not being targeted due to the radius from the first command and the separate command: https://bugs.mojang.com/browse/MC-88533
You may want to increase the radius to circumvent that if necessary, though might pose an issue with targeting armor stands you don't want to target.
As well, you should not have that last command separate. All commands that are functionally dependent on another should remain in the same chain, as otherwise order of activation is not guaranteed. In this case, it's impossible for the command to function because the armor stands in question are being killed before the command block runs. If the command block runs first, then there are no armor stands with the proper label to be found.
You should add it to your chain before the /kill command but after the first command.
Your second and third /execute commands are trying to find an armor stand within 1 block of the command block. You'd need to remove the "r=1" to have those work world-wide.
If the armor stands have "Marker" set to 1, then it's possible that they are not being targeted due to the radius from the first command and the separate command: https://bugs.mojang.com/browse/MC-88533
You may want to increase the radius to circumvent that if necessary, though might pose an issue with targeting armor stands you don't want to target.
As well, you should not have that last command separate. All commands that are functionally dependent on another should remain in the same chain, as otherwise order of activation is not guaranteed. In this case, it's impossible for the command to function because the armor stands in question are being killed before the command block runs. If the command block runs first, then there are no armor stands with the proper label to be found.
You should add it to your chain before the /kill command but after the first command.
Thanks Skylinerw! It didn't work, but I believe the reason for it glitching is due to bug(s). Everything should be functioning properly as is.
*Note: I changed what you said, and it still didn't work. Just wanted to clarify.
Hello, I'm Minersof49ers. I am currently having issues with a custom block mechanism that I have been working on.
So here's what the mechanic is:
I have an endermite that I can summon with a custom name, yada yada yada... Long story short, It places both a gold block and an armorstand named "Block." Now, on to why this is important. You see, I want to make it to where when you step on this gold block, it summons falling sand to look like a gold block, and removes the floor, essentially making a falling trap. This part is easy, BUT, I want this to work to where whenever you step on one trapped block, it triggers any others touching it. I.E. I step on one trapped (gold) block, and it triggers any others that are next to it, and the ones next to those, etc..
Here are the commands:
Separate command block:
Any help on why nothing here is working would be appreciated. Thanks
*sarcastic comment*
*disapproving look*
Your second and third /execute commands are trying to find an armor stand within 1 block of the command block. You'd need to remove the "r=1" to have those work world-wide.
If the armor stands have "Marker" set to 1, then it's possible that they are not being targeted due to the radius from the first command and the separate command: https://bugs.mojang.com/browse/MC-88533
You may want to increase the radius to circumvent that if necessary, though might pose an issue with targeting armor stands you don't want to target.
As well, you should not have that last command separate. All commands that are functionally dependent on another should remain in the same chain, as otherwise order of activation is not guaranteed. In this case, it's impossible for the command to function because the armor stands in question are being killed before the command block runs. If the command block runs first, then there are no armor stands with the proper label to be found.
You should add it to your chain before the /kill command but after the first command.
Minecraft-things: http://skylinerw.com
More Minecraft-things: https://sourceblock.net
Guides for command-related features (eventually moving to Source Block): https://github.com/skylinerw/guides
I primarily hang out in the /r/MinecraftCommands discord, where there's a lot of people that help with commands: https://discord.gg/QAFXFtZ
Their corresponding subreddit: https://www.reddit.com/r/MinecraftCommands/
Thanks Skylinerw! It didn't work, but I believe the reason for it glitching is due to bug(s). Everything should be functioning properly as is.
*Note: I changed what you said, and it still didn't work. Just wanted to clarify.
*sarcastic comment*
*disapproving look*