mojira.dev
MC-45197

@p arguments not working with cubic areas.

So I decided to try and make an adventure map with the new snapshot, 14w03b and ran into a situation where I need a superfast clock and a command block to search for a player. I thought it may be convenient to use the new cubic areas that Searge previewed on his twitter.
I tried this out, and as you can see in the screenshots below, it kept giving me the error of "The entity UUID is in an invalid format." I understand what this means, but I have no idea of how it could happen.
I also tried just using a radius, and that worked. I also tried exact coordinates and relative coordinates and neither worked. I even tried using @a and @r, and these picked me up, and sent out a signal
I'm sort of a noob at command blocks and target selectors, so sorry if it's just a noobish mistake. Thanks for your help in advance, though.

Linked issues

Attachments

Comments 8

Duplicate of MC-45134. The d* values cannot be negative.

@CubeTheThird But wouldn't that be a bug then? I read the comments in the other report and I see that I could replace -1 with 1 in dx, but that's not the same area. I actually wouldn't be able to define that area because of something in the map.

@Tim, if you want to define the area of x from -6 to -7, you could to

[x=-7, ... ,dx=1,...]

.

@CubeTheThird so it was just a noobish mistake... i figured the dx etc. were the coords to go to, like in my example, I went from -6 to -1, but instead i'd do 5 there, etc.

Thanks for the help, man.

No worries. Glad that got clarified.

Still don't work, in (snapshot 14w08a). What shoul I do if want to test area which all x and z coordinates are negative? F.e [x=-1,y=10,z=-10,x=-100,y=20,z=-15].

@Artur, your x, y, and z values can be nagative, however they must be followed by dx, dy, and dz values, specifying the length, height, and width, and all of these must be positive.

Thank you very much! I thought it works like fill command. Now it all makes sense.
P.S. Thank you for fast reply.

Tim L.

(Unassigned)

Unconfirmed

Minecraft 14w03b

Retrieved