1

The Entity UUID provided is in an Invalid Format

Fez Master 12/17/15 3:53 pm
484
12/20/2015 10:53 pm
So I am trying to make a map that involves a command to find a zombie, and move him forwards one block in the direction of positive x. But whenever I try to enter it, it keeps saying that the entity UUID provided is in an invalid format. Here is the command that I was entering, exactly as written:

/execute @e[327.5,68,172.5,37,type=Zombie,name=Bob] ~1 ~ ~ tp @e[~,~,~,1,type=Zombie,name=Bob] ~ ~ ~

Can anyone tell me what is wrong with it?
Posted by
Fez Master
Level 5 : Apprentice System
1

  Have something to say?

JoinSign in

1

Jmal116
12/20/2015 10:53 pm
Level 34 : Artisan System
That's the error it throws when it is unable to find an entity that matches your parameters, or the parameters were formatted incorrectly. In this case it's the latter.

First off, the coordinates you put at the beginning of the square brackets cannot have a decimal. The .5 is assumed by the game, but you cannot get any more precise than that. As well, you cannot put tildes (~) inside square brackets. In this case since you don't actually change the coordinates, you can just get rid of them entirely. If no coordinates are found the game doesn't change anything.

As well the command you have, even when formatted correctly, wouldn't actually do anything. The coordinates after execute simply move the command center, and the coordinates in tp are what actually does the teleporting. Therefore you should move the ~1 ~ ~ to the very end, and keep the bit after execute as ~ ~ ~.

Finally, your player selectors are a bit redundant. Since you're targeting the same zombie with both selectors, you don't need to use both execute and tp, you can get away with only using one.

In the end you should get something like this: tp @e[327,68,172,37,type=Zombie,name=Bob] ~1 ~ ~
1

Welcome