31 public static function create(
int $dimension,
Vector3 $position,
bool $respawn, ?
int $loadingScreenId) : self{
33 $result->dimension = $dimension;
34 $result->position = $position;
35 $result->respawn = $respawn;
36 $result->loadingScreenId = $loadingScreenId;