The Meaning of Life, the Universe, and Everything.
Join Date:
2/11/2017
Posts:
662
Member Details
You use the "@p" specifier which targets the nearest player, who is in the overworld. You should either replace with the username of your friend or change to "@a[nbt={Dimension:-1}]" to teleport all nether players to the overworld.
Rollback Post to RevisionRollBack
Remember those versions that minecraft pranked us with? Specifically:
Minecraft 2.0
Minecraft 1.VR-Pre1
Snapshot 15w14a
Minecraft 3D
Those are still downloadable! Watch this video for 2.0:
To download the other ones you need to make a folder in the versions folder for minecraft and put the client and JSON file for the versions in there. They all need to be named the same aside from file extensions. Once you do that, you will be able to choose that version when making a new profile with the minecraft launcher.
Well, if your friend used it in nether, while someone is in overworld, I don't see why should it be applied to him.
You said to that command block to:
/execute in overworld run teleport @p -845 69 450
this means:
-do in overworld - teleport nearest player to location.
So it will teleport closest player from those coords in overworld, not in nether.
That should be correct, after some testing and stuff this worked:
/execute in overworld run teleport @p[nbt={Dimension:"minecraft:the_nether"}] -845 69 450
this means:
-do in overworld - teleport nearest player - in nether to location, still in overworld
Reason, it worked before and also in single player is because no one was in overworld. When command was unable to find anyone in overworld, switched back to nether.
Ptolemy had it almost right, but that "-1" dimension was changed to "the_nether" in 1.13, where everything changed from numbers to letters.(I still hate it xd)
Also, I changed his @a - all players just to @p - closest player.
It's me again, all worked fine, then I ad a long break, came back, started a new Fabric server, and now it makes the same problem, funny thing is, when I test it on a Lan server Vanilla, with my Second account, it works ust fine, but when using dedicated server, it messes up.
*EDIT* These are my commands:
From Overworld to Nether:
/execute in the_nether run teleport @p[nbt={Dimension:"minecraft:overworld"}] -175 235 -11
From Nether to Overworld:
/execute in overworld run teleport @p[nbt={Dimension:"minecraft:the_nether"}] 334 65 -39
What hapens is, I stand right next to the commanblock, ress the button, my second account is 10 blocks away, I press the button, it teleports my second account. Am I really too blind and missing something simle here?
/execute in minecraft:the_nether run teleport @p[nbt={Dimension:"minecraft:overworld"},sort=nearest] ~ ~ ~
<--- I just added another sorting to what player to choose (nearest from the place), as I can't try it by myself, can't confirm if it fixes it. (and put correct numbers back insteaed of ~)
do you know how it is choosing who to teleport? by name? by some different location? by something else? As at least I don't know what could be the problem right now, as it now has 2 things saying to choose nearest player (@p and sort=nearest), none of those woks
I really don't know what's going on, last year when you helped me, and I used your input, it worked, and now, it doesn't work again, I guess I need to 10x tripple check it hehe, but thanks for keep trying to help me.
So, last year, I used commandblocks for easy teleporting players, all worked fine, but now, I started playing again, and it seems I missed something.
What happens:
I'm at worldspawn, my friend is in the Nether, pushes the button to execute the teleport:
My friend is at the same place, but me at the worldspawn get's teleport to the above coords, what am I doing wrong? What changed?
Hope I made sense.
*EDIT* It works fine when I'm alone on the server.
running latest Fabric server.
You use the "@p" specifier which targets the nearest player, who is in the overworld. You should either replace with the username of your friend or change to "@a[nbt={Dimension:-1}]" to teleport all nether players to the overworld.
Remember those versions that minecraft pranked us with? Specifically:
Those are still downloadable! Watch this video for 2.0:
https://www.youtube.com/watch?v=PQdu9LKAdIU
To download the other ones you need to make a folder in the versions folder for minecraft and put the client and JSON file for the versions in there. They all need to be named the same aside from file extensions. Once you do that, you will be able to choose that version when making a new profile with the minecraft launcher.
15w14a is on this link:
http://minecraft.gamepedia.com/15w14a
1.RV-Pre1 is here:
http://minecraft.gamepedia.com/1.RV-Pre1
Minecraft 3D is here:
https://minecraft.gamepedia.com/Java_Edition_3D_Shareware_v1.34
So there is no way to make it work as it "used" to? I mean, it worked perfectly last year.
Well, if your friend used it in nether, while someone is in overworld, I don't see why should it be applied to him.
You said to that command block to:
this means:
-do in overworld - teleport nearest player to location.
So it will teleport closest player from those coords in overworld, not in nether.
That should be correct, after some testing and stuff this worked:
this means:
-do in overworld - teleport nearest player - in nether to location, still in overworld
Reason, it worked before and also in single player is because no one was in overworld. When command was unable to find anyone in overworld, switched back to nether.
Ptolemy had it almost right, but that "-1" dimension was changed to "the_nether" in 1.13, where everything changed from numbers to letters.(I still hate it xd)
Also, I changed his @a - all players just to @p - closest player.
Without him, I wouldn't have idea to use nbt.
Thank you so very much, now it works as it "used" too, thank you.
It's me again, all worked fine, then I ad a long break, came back, started a new Fabric server, and now it makes the same problem, funny thing is, when I test it on a Lan server Vanilla, with my Second account, it works ust fine, but when using dedicated server, it messes up.
*EDIT* These are my commands:
From Overworld to Nether:
From Nether to Overworld:
What hapens is, I stand right next to the commanblock, ress the button, my second account is 10 blocks away, I press the button, it teleports my second account. Am I really too blind and missing something simle here?
<--- I just added another sorting to what player to choose (nearest from the place), as I can't try it by myself, can't confirm if it fixes it. (and put correct numbers back insteaed of ~)
Thanks, will test it soon.
Same result, thanks for your effort though.
do you know how it is choosing who to teleport? by name? by some different location? by something else? As at least I don't know what could be the problem right now, as it now has 2 things saying to choose nearest player (@p and sort=nearest), none of those woks
I really don't know what's going on, last year when you helped me, and I used your input, it worked, and now, it doesn't work again, I guess I need to 10x tripple check it hehe, but thanks for keep trying to help me.
Okay, after some sleeples nights, and vaccuming the Wiki, it looks like I fixed it:
Should be:
I guess something has been updated to the teleport commands, but once again, thanks for the help.