Is there something wrong with this!?!?!? I'm trying to make whether an armor_stand called goldGen has a yellow stained glass block underneath it, and I've got the whole mechanism but this /kill command isn't working. I'm on a server that isn't developed yet so when it's done I'll give out an IP. I've got essentials plugins and many others, and I'm trying to make a gold generator. You get a blaze spawn egg and when you summon the blaze, it dies and summons the armor stand there and places the yellow stained glass. Then when the player breaks the glass, the armor stand dissapears... Please help!
The "minecraft:"(namespace) at the front is need to let it run as a vanilla command.
I believe the problem occurs because of the way how his command block connected, perhaps wrong testforblock coordinate, as well as the missing namespace for his first command. Also, try not to use testfor, repeater and comparator, they are not that great. Keep in mind that since you are using spawn egg, you may want to avoid player spawning blaze on non-air block(buttons, torch...)
So I tried that, and the first part worked, it did kill the blaze and summon the armor stand and place the glass, but as soon as I broke the glass, the armor stand didn't dissapear! I copy and pasted the commands, I put 'minecraft:' in front of all the commands, including the execute sub commands. Please help! If you need me to attach a picture, I can.
If the chicken is gone but the armor stand is still here, it means there are plugins preventing you from killing armor stands. If that's the case, either find out and change the setting of that plugin, or use area_effect_clouds to replace armor_stand.
OH MY GOSH! I AM SO DUMB!!!! I had the repeating command block of the second tower not set to always active!!!!! And when I set it to always active, it worked!!!
Thank you! I'm dumb. I should've looked. Sorry and thank you!
Hi, I'm trying to kill an armor stand with a name of goldGen and without a tag of good.
Here's what I've got:
Is there something wrong with this!?!?!? I'm trying to make whether an armor_stand called goldGen has a yellow stained glass block underneath it, and I've got the whole mechanism but this /kill command isn't working. I'm on a server that isn't developed yet so when it's done I'll give out an IP. I've got essentials plugins and many others, and I'm trying to make a gold generator. You get a blaze spawn egg and when you summon the blaze, it dies and summons the armor stand there and places the yellow stained glass. Then when the player breaks the glass, the armor stand dissapears... Please help!
The commands of the upcoming picture:
1: execute @e[type=armor_stand,name=goldGen] ~ ~ ~ testforblock ~ ~-1 ~ stained_glass 4
2: minecraft:scoreboard players tag @e[type=armor_stand,name=goldGen] add good
3: minecraft:kill @e[type=armor_stand,name=goldGen,tag=!good]
The picture:
Uh... yes. Here's the fix.kill @e[type=armor_stand,name=goldGen,tag=!good]If it doesn't work, it might be your mods or plugins affecting the command.Edit: Never mind...
I don't think this "fix" will work.
The "minecraft:"(namespace) at the front is need to let it run as a vanilla command.
I believe the problem occurs because of the way how his command block connected, perhaps wrong testforblock coordinate, as well as the missing namespace for his first command. Also, try not to use testfor, repeater and comparator, they are not that great. Keep in mind that since you are using spawn egg, you may want to avoid player spawning blaze on non-air block(buttons, torch...)
execute @e[type=minecraft:blaze] ~ ~ ~ summon minecraft:armor_stand ~ ~ ~ {Invulnerable:1b,Marker:1b,NoGravity:1b,Tags:["goldGen"]}
kill @e[type=minecraft:blaze]
execute @e[tag=goldGen] ~ ~ ~ setblock ~ ~ ~ minecraft:stained_glass 4 replace
execute @e[tag=goldGen] ~ ~ ~ detect ~ ~ ~ minecraft:air * scoreboard players tag @s add notgood
execute @e[tag=notgood] ~ ~ ~ say HI
kill @e[tag=notgood]
Purple ones set to REPEAT, UNCONDITIONAL, ALWAYS ACTIVE.
Green ones set to CHAIN, CONDITIONAL, ALWAYS ACTIVE.
These commands above worked in vanilla. If it doesn't work on server, try to add "minecraft" namespace at the begin of EVERY command.
Not sure about whether the execute command need namespace for its sub command, so try it yourself.
ex.
minecraft:execute @e[type=minecraft:blaze] ~ ~ ~ minecraft:summon minecraft:armor_stand ~ ~ ~ {Invulnerable:1b,Ma...}
minecraft:execute @e[type=minecraft:blaze] ~ ~ ~summon minecraft:armor_stand ~ ~ ~ {Invulnerable:1b,Ma...}
minecraft:kill @e[type=minecraft:blaze]
minecraft:execute @e[tag=goldGen] ~ ~ ~ minecraft:setblock ~ ~ ~ ...
minecraft:execute @e[tag=goldGen] ~ ~ ~ setblock ~ ~ ~ ...
...
So I tried that, and the first part worked, it did kill the blaze and summon the armor stand and place the glass, but as soon as I broke the glass, the armor stand didn't dissapear! I copy and pasted the commands, I put 'minecraft:' in front of all the commands, including the execute sub commands. Please help! If you need me to attach a picture, I can.
Try these...
Spawn an armor stand and a chicken.
minecraft:kill @e[type=armor_stand,c=1,r=10]
minecraft:kill @e[type=chicken,c=1,r=10]
If the chicken is gone but the armor stand is still here, it means there are plugins preventing you from killing armor stands. If that's the case, either find out and change the setting of that plugin, or use area_effect_clouds to replace armor_stand.
OH MY GOSH! I AM SO DUMB!!!! I had the repeating command block of the second tower not set to always active!!!!! And when I set it to always active, it worked!!!
Thank you! I'm dumb. I should've looked. Sorry and thank you!