Package net.minecraft.src
Class WorldProviderEnd
java.lang.Object
net.minecraft.src.WorldProvider
net.minecraft.src.WorldProviderEnd
-
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 TypeMethodDescriptionfloat[]calcSunriseSunsetColors(float par1, float par2) Returns array with sunrise/sunset colorsfloatcalculateCelestialAngle(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.intfloatthe y level at which clouds are rendered.Returns the dimension's name, e.g.Gets the hard-coded portal location to use when entering this dimension.getFogColor(float par1, float par2) Return Vec3D with biome specific fog colorbooleanbooleanReturns '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
generateLightBrightnessTable, getMoonPhase, getProviderForDimension, getVoidFogYFactor, getWorldHasVoidParticles, getWorldType, registerWorld
-
Constructor Details
-
WorldProviderEnd
public WorldProviderEnd()
-
-
Method Details
-
registerWorldChunkManager
public void registerWorldChunkManager()creates a new world chunk manager for WorldProvider- Overrides:
registerWorldChunkManagerin classWorldProvider
-
createChunkGenerator
Returns a new chunk provider which generates chunks for this world- Overrides:
createChunkGeneratorin 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
-
calcSunriseSunsetColors
public float[] calcSunriseSunsetColors(float par1, float par2) Returns array with sunrise/sunset colors- Overrides:
calcSunriseSunsetColorsin classWorldProvider
-
getFogColor
Return Vec3D with biome specific fog color- Overrides:
getFogColorin classWorldProvider
-
isSkyColored
public boolean isSkyColored()- Overrides:
isSkyColoredin classWorldProvider
-
canRespawnHere
public boolean canRespawnHere()True if the player can respawn in this dimension (true = overworld, false = nether).- Overrides:
canRespawnHerein 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
-
getCloudHeight
public float getCloudHeight()the y level at which clouds are rendered.- Overrides:
getCloudHeightin 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
-
getEntrancePortalLocation
Gets the hard-coded portal location to use when entering this dimension.- Overrides:
getEntrancePortalLocationin classWorldProvider
-
getAverageGroundLevel
public int getAverageGroundLevel()- Overrides:
getAverageGroundLevelin 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
-