Add.dimension

Dimension in which the player was playing before being transferred. It's used to send the game's change dimension packet to despawn old entities and delete old chunks.

class Add
ubyte dimension;

Meta