1

Command Help Wanted!

Fez Master 5/28/16 7:51 am
228
5/28/2016 8:09 am
How can I differentiate three different blocks that look exactly the same from each other? I want to have command blocks be able to tell them apart because they have different data, and I cannot use their location as the different data factor, because I need the command blocks to find them no matter where they are in the world. I want them all to look exactly the same. I am also open to suggestions of things that don't necessarily get this accomplished, but still allows command blocks to tell them apart without changing the appearance of the blocks. Overall, I want command blocks to be able to tell three different blocks apart from each other that are all Yellow Wool blocks. I do not want the appearance of any of the blocks to be changed in any way.
Posted by
Fez Master
Level 5 : Apprentice System
1

  Have something to say?

JoinSign in

2

Lexxer
05/28/2016 8:09 am
Level 29 : Expert Caveman
Well, I am not sure if this falls under the definition of location but you could let the blocks spawn in an entity.

You just spawn an ArmorStand and name them 'Block1' and 'Block2' and 'Block2' or whatever.

Then you can spawn your block in each of those ArmorStands.
Now you could use the ArmorStands to distinguish the blocks.
1
ssproad
05/28/2016 7:55 am
Level 2 : Apprentice Mage
You can't. Blocks don't keep their data when placed so you lose the name, etc.

What you can do is change some other block to look like Yellow wool.
1

Welcome