Added support for Forge's getRespawnDimension.