Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

2
Coordinate Based Teleportation
Post Flair (click to view more posts with a particular flair)
Post Body

Hello everyone. I am trying to create a command block that teleports a player from one point to another. I have seen similar posts on various platforms with answers to this problem.

However, of those solutions:

  • there were those that used 'r' as a datatype for whatever the entity selector was, so that the command block would check that many blocks away from the specified coordinates, and when I substituted 'r' with 'distance', no teleportation occured.
  • when I used the '@a' selector and put in the target coordinates, nothing happened.
  • when I interchanged tp with teleport through variations of my code, the only time something happened, was that I became locked into the teleportation destination when I used the '@a' selector and just put in the coordinates.

In my latest iteration of trying to get the code to work I currently have the following:

tp @a[x=-134,y=7,z=299,dx=2,dy=2,dz=2] 1000 253 1000

The coordinates I want players to teleport from is -135 8 300, and 1000 253 1000 is the intended destination.

Does anyone know why my code is not working?

Author
Account Strength
90%
Account Age
5 years
Verified Email
Yes
Verified Flair
No
Total Karma
1,376
Link Karma
16
Comment Karma
207
Profile updated: 3 days ago
Posts updated: 7 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
5 years ago