public static void setup(World world, float partialTick, float celestialAngle) {
if (TexturePackAPI.isDefaultTexturePack()) {
active = false;
} else {
int worldType = Minecraft.getMinecraft().theWorld.provider.dimensionId;
SkyRenderer$WorldEntry newEntry = getWorldEntry(worldType);
if (newEntry != currentWorld && currentWorld != null) {
currentWorld.unloadTextures();
}