ChangeDimensionPacket

TheAbelDev

New Member
Hi, I have a question about ChangeDimensionPacket.
I was able to make the loading screen appear when a player changes levels. But the world seems like it's in the nether and I'd like to solve that.
My code:
Code:
           ChangeDimensionPacket pk = new ChangeDimensionPacket();
            pk.dimension = 1;
            pk.x = x;
            pk.y = y;
            pk.z = z;
            ((Player) player).dataPacket(pk);
            PlayStatusPacket pk2 = new PlayStatusPacket();
            pk2.status = 3;
            ((Player) player).dataPacket(pk2);
 

SupremeMortal

Administrator
Staff member
I don't recommend messing with this stuff. It can cause the client to freeze or crash.
Dimension IDs:
0 - Overworld
1 - Nether
2 - End
 
Top