(I'ma start this off and say I'm sorry if I did anything wrong here, tell me if so because this is my first post.)
I'm working on a little project, and while working with the test for command for the first time, I encountered this. I was making a little portal you jump into and when you near the bottom it's supposed to tp you to somewhere.
Here's the command: /testfor @a {x:0,y:98,z:-11,r:2} (Command block is an always active impulse one)
And the error is: [18:48:56] adebss did not match the required data structure.
Here's the command: /testfor @a {x:0,y:98,z:-11,r:2}
Wouldn't the command be more like /testfor @p[x=0,y=98,z=-11,r=2]? The syntax, IIRC, is /testfor <player> [Data Tag], and the coordinates for the player should be attached to the <player> code, not as part of the [Data Tag].
Rollback Post to RevisionRollBack
Quote me if you're replying to my comment please.
Check out my maps! Vampire and Hunter PVP - multiplayer PvP map:
(I'ma start this off and say I'm sorry if I did anything wrong here, tell me if so because this is my first post.)
I'm working on a little project, and while working with the test for command for the first time, I encountered this. I was making a little portal you jump into and when you near the bottom it's supposed to tp you to somewhere.
Here's the command: /testfor @a {x:0,y:98,z:-11,r:2} (Command block is an always active impulse one)
And the error is: [18:48:56] adebss did not match the required data structure.
What's data structure and how do I fix this.
My Youtube: https://www.youtube.com/channel/UCmX3F8hcNfrJUHGDAdeHKvg
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumWouldn't the command be more like /testfor @p[x=0,y=98,z=-11,r=2]? The syntax, IIRC, is /testfor <player> [Data Tag], and the coordinates for the player should be attached to the <player> code, not as part of the [Data Tag].
Quote me if you're replying to my comment please.
Check out my maps!
Vampire and Hunter PVP - multiplayer PvP map:
Custom vanilla mobs showcase map:
Collection of two WIP maps (Quad SB and Advanced Village) [MinecraftForum thread]