1

Execute command from block

Veritas025 6/16/15 5:48 pm
286
6/16/2015 10:33 pm
So I'm making a mechanism where it spawns ender particles around a dragon egg so I can do /summon FallingSand ~ ~ ~ {TileID:122,Time:1} but is there any way I can use NBT tags in a selector because I'm trying to do /execute @e[type=FallingSand] ~ ~ ~ /particle portal ~ ~ ~ 1 1 1 1 1000 but is there anyway to have a NBT tag in my FallingSand selector? If nothing works I can spawn invisible armorstands give them a score of 1 and execute the particles at every armor stand with a score of one if you executing from a block is not possible
Posted by
Veritas025
Level 55 : Grandmaster System
41

  Have something to say?

JoinSign in

2

Jmal116
06/16/2015 6:54 pm
Level 34 : Artisan System
You can't use NBT in a selector nor as part of the execute command, but you can use the scoreboard command to give scores to entities that match certain data, which you can then plug into your selectors. You at least wouldn't have to use armor stands that way, though depending on what the data is and how precise you need to be that still may not be an ideal solution.
1
Veritas025
06/16/2015 10:33 pm
Level 55 : Grandmaster System
Ok thanks for the idea, I'll try that
1

Welcome