Package net.minecraft.src
Class WorldProviderHell
java.lang.Object
net.minecraft.src.WorldProvider
net.minecraft.src.WorldProviderHell
-
Field Summary
Fields inherited from class net.minecraft.src.WorldProvider
dimensionId, field_82913_c, hasNoSky, isHellWorld, lightBrightnessTable, moonPhaseFactors, terrainType, worldChunkMgr, worldObj -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatcalculateCelestialAngle(long par1, float par3) Calculates the angle of sun and moon in the sky relative to a specified time (usually worldTime)booleancanCoordinateBeSpawn(int par1, int par2) Will check if the x, z position specified is alright to be set as the map spawn pointbooleanTrue if the player can respawn in this dimension (true = overworld, false = nether).Returns a new chunk provider which generates chunks for this worldbooleandoesXZShowFog(int par1, int par2) Returns true if the given X,Z coordinate should show environmental fog.voidCreates the light to brightness tableReturns the dimension's name, e.g.getFogColor(float par1, float par2) Return Vec3D with biome specific fog colorbooleanReturns 'true' if in the "main surface world", but 'false' if in the Nether or End dimensions.voidcreates a new world chunk manager for WorldProviderMethods inherited from class net.minecraft.src.WorldProvider
calcSunriseSunsetColors, getAverageGroundLevel, getCloudHeight, getEntrancePortalLocation, getMoonPhase, getProviderForDimension, getVoidFogYFactor, getWorldHasVoidParticles, getWorldType, isSkyColored, registerWorld
-
Constructor Details
-
WorldProviderHell
public WorldProviderHell()
-
-
Method Details
-
registerWorldChunkManager
public void registerWorldChunkManager()creates a new world chunk manager for WorldProvider- Overrides:
registerWorldChunkManagerin classWorldProvider
-
getFogColor
Return Vec3D with biome specific fog color- Overrides:
getFogColorin classWorldProvider
-
generateLightBrightnessTable
public void generateLightBrightnessTable()Creates the light to brightness table- Overrides:
generateLightBrightnessTablein classWorldProvider
-
createChunkGenerator
Returns a new chunk provider which generates chunks for this world- Overrides:
createChunkGeneratorin classWorldProvider
-
isSurfaceWorld
public boolean isSurfaceWorld()Returns 'true' if in the "main surface world", but 'false' if in the Nether or End dimensions.- Overrides:
isSurfaceWorldin classWorldProvider
-
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:
canCoordinateBeSpawnin classWorldProvider
-
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:
calculateCelestialAnglein classWorldProvider
-
canRespawnHere
public boolean canRespawnHere()True if the player can respawn in this dimension (true = overworld, false = nether).- Overrides:
canRespawnHerein classWorldProvider
-
doesXZShowFog
public boolean doesXZShowFog(int par1, int par2) Returns true if the given X,Z coordinate should show environmental fog.- Overrides:
doesXZShowFogin classWorldProvider
-
getDimensionName
Returns the dimension's name, e.g. "The End", "Nether", or "Overworld".- Specified by:
getDimensionNamein classWorldProvider
-