Class WorldProviderHell

java.lang.Object
net.minecraft.src.WorldProvider
net.minecraft.src.WorldProviderHell

public class WorldProviderHell extends WorldProvider
  • Constructor Details

    • WorldProviderHell

      public WorldProviderHell()
  • Method Details

    • registerWorldChunkManager

      public void registerWorldChunkManager()
      creates a new world chunk manager for WorldProvider
      Overrides:
      registerWorldChunkManager in class WorldProvider
    • getFogColor

      public Vec3 getFogColor(float par1, float par2)
      Return Vec3D with biome specific fog color
      Overrides:
      getFogColor in class WorldProvider
    • generateLightBrightnessTable

      public void generateLightBrightnessTable()
      Creates the light to brightness table
      Overrides:
      generateLightBrightnessTable in class WorldProvider
    • createChunkGenerator

      public IChunkProvider createChunkGenerator()
      Returns a new chunk provider which generates chunks for this world
      Overrides:
      createChunkGenerator in class WorldProvider
    • isSurfaceWorld

      public boolean isSurfaceWorld()
      Returns 'true' if in the "main surface world", but 'false' if in the Nether or End dimensions.
      Overrides:
      isSurfaceWorld in class WorldProvider
    • canCoordinateBeSpawn

      public boolean canCoordinateBeSpawn(int par1, int par2)
      Will check if the x, z position specified is alright to be set as the map spawn point
      Overrides:
      canCoordinateBeSpawn in class WorldProvider
    • calculateCelestialAngle

      public float calculateCelestialAngle(long par1, float par3)
      Calculates the angle of sun and moon in the sky relative to a specified time (usually worldTime)
      Overrides:
      calculateCelestialAngle in class WorldProvider
    • canRespawnHere

      public boolean canRespawnHere()
      True if the player can respawn in this dimension (true = overworld, false = nether).
      Overrides:
      canRespawnHere in class WorldProvider
    • doesXZShowFog

      public boolean doesXZShowFog(int par1, int par2)
      Returns true if the given X,Z coordinate should show environmental fog.
      Overrides:
      doesXZShowFog in class WorldProvider
    • getDimensionName

      public String getDimensionName()
      Returns the dimension's name, e.g. "The End", "Nether", or "Overworld".
      Specified by:
      getDimensionName in class WorldProvider