Started by
Okram0
on
Topic category: Help with Minecraft modding (Java Edition)
Hello!
I am trying to make a block that will retrieve a random player from a custom dimension I made, but I don't quite know how it will "find" the player in this other dimension.
The idea is to use the block, and the block gets a random player currently in the other dimension and teleports them to me.
I don’t how to get all players from a dimension, but you can get all players in the world and use an if statement to check dimension and then use that.
That would work!
How can I do that?