1

Execute command from block

Veritas025's Avatar Veritas0256/16/15 5:48 pm
1 emeralds 241 2
6/16/2015 10:33 pm
Veritas025's Avatar Veritas025
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's Avatar
Veritas025
Level 55 : Grandmaster Engineer
37

Create an account or sign in to comment.

2

1
06/16/2015 6:54 pm
Level 33 : Artisan Engineer
Jmal116
Jmal116's Avatar
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
06/16/2015 10:33 pm
Level 55 : Grandmaster Engineer
Veritas025
Veritas025's Avatar
Ok thanks for the idea, I'll try that
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome