-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ServerboundMovePlayerPacket error when using changeDimension to fantasy dimensions, chunks do not generate #39
Comments
For context, this is on 1.20.2, fabric ver |
I can re-produce this as well. |
For custom dimensions, you are supposed to use |
I forgot about this issue but yeah this fixed it for me in case anyone was wondering what the fix was/if it would work. |
I'm having the same issue on 1.21 while using ServerPlayer.teleportTo, and Fabric Dimensions no longer exists in this version edit: I think its an issue with trying to teleport the player as soon as the dimension is created? Creating the dimension earlier (in my case, on ServerLifecycleEvents.SERVER_STARTED) seems to stop this from happening. |
Ok I'm back to having no clue. I made a command to create a dimension and another to teleport to it and that seems to work fine but then it breaks the original dimension created on server start? Even though they are two separate dimensions |
@CaelTheColher in 1.21, |
I am already using teleportTo, but still getting the same error as op |
I found the problem, I was teleporting on the ServerPlayConnectionEvents.JOIN event, but that is too early and it can mess things up |
What I like to do is have a playerJoined UUID list and then teleport the player on next server tick, if you want compatibility with VMP you can also make sure the notInAnyWorld field is false before running anything. |
As title. Trying the lib by using a simple command that creates a temporary dimension and moves the player there, but I just get the classic pre-loading empty world on the client side as chunks never generate, with the error at the bottom of the issue post in the log.
The command code (in Kotlin, mojmap, fabric) is this:
Am I doing something wrong?
The text was updated successfully, but these errors were encountered: