Class WorldProvider

    • Field Detail

      • worldObj

        public World worldObj
      • isHellWorld

        public boolean isHellWorld
      • hasNoSky

        public boolean hasNoSky
      • lightBrightnessTable

        public float[] lightBrightnessTable
      • worldType

        public int worldType
    • Constructor Detail

      • WorldProvider

        public WorldProvider()
    • Method Detail

      • registerWorld

        public final void registerWorld​(World var1)
      • generateLightBrightnessTable

        protected void generateLightBrightnessTable()
      • registerWorldChunkManager

        protected void registerWorldChunkManager()
      • canCoordinateBeSpawn

        public boolean canCoordinateBeSpawn​(int var1,
                                            int var2)
      • calculateCelestialAngle

        public float calculateCelestialAngle​(long var1,
                                             float var3)
      • getMoonPhase

        @Client
        public @net.minecraft.modding.api.Side.Client int getMoonPhase​(long var1,
                                                                       float var3)
      • func_48217_e

        public boolean func_48217_e()
      • calcSunriseSunsetColors

        @Client
        public @net.minecraft.modding.api.Side.Client float[] calcSunriseSunsetColors​(float var1,
                                                                                      float var2)
      • canRespawnHere

        public boolean canRespawnHere()
      • getProviderForDimension

        public static WorldProvider getProviderForDimension​(int var0)
      • getCloudHeight

        @Client
        public @net.minecraft.modding.api.Side.Client float getCloudHeight()
      • isSkyColored

        @Client
        public @net.minecraft.modding.api.Side.Client boolean isSkyColored()
      • getEntrancePortalLocation

        public ChunkCoordinates getEntrancePortalLocation()
      • getAverageGroundLevel

        public int getAverageGroundLevel()
      • getWorldHasNoSky

        @Client
        public @net.minecraft.modding.api.Side.Client boolean getWorldHasNoSky()
      • getVoidFogYFactor

        @Client
        public @net.minecraft.modding.api.Side.Client double getVoidFogYFactor()
      • func_48218_b

        @Client
        public @net.minecraft.modding.api.Side.Client boolean func_48218_b​(int var1,
                                                                           int var2)