public class WorldProviderEnd extends WorldProvider
dimensionId, field_111203_a, field_82913_c, hasNoSky, isHellWorld, lightBrightnessTable, terrainType, worldChunkMgr, worldObj| Constructor and Description |
|---|
WorldProviderEnd() |
| Modifier and Type | Method and Description |
|---|---|
float[] |
calcSunriseSunsetColors(float par1,
float par2) |
float |
calculateCelestialAngle(long par1,
float par3)
Calculates the angle of sun and moon in the sky relative to a specified time (usually worldTime)
|
boolean |
canCoordinateBeSpawn(int par1,
int par2)
Will check if the x, z position specified is alright to be set as the map spawn point
|
boolean |
canRespawnHere()
True if the player can respawn in this dimension (true = overworld, false = nether).
|
IChunkProvider |
createChunkGenerator()
Returns a new chunk provider which generates chunks for this world
|
boolean |
doesXZShowFog(int par1,
int par2) |
int |
getAverageGroundLevel() |
float |
getCloudHeight() |
String |
getDimensionName()
Returns the dimension's name, e.g.
|
ChunkCoordinates |
getEntrancePortalLocation()
Gets the hard-coded portal location to use when entering this dimension.
|
Vec3 |
getFogColor(float par1,
float par2) |
boolean |
isSkyColored() |
boolean |
isSurfaceWorld()
Returns 'true' if in the "main surface world", but 'false' if in the Nether or End dimensions.
|
void |
registerWorldChunkManager()
creates a new world chunk manager for WorldProvider
|
calculateInitialWeather, canBlockFreeze, canDoLightning, canDoRainSnowIce, canMineBlock, canSnowAt, drawClouds, getActualHeight, getBiomeGenForCoords, getCloudRenderer, getDepartMessage, getHeight, getHorizon, getMoonPhase, getMovementFactor, getProviderForDimension, getRandomizedSpawnPoint, getRespawnDimension, getSaveFolder, getSeed, getSkyColor, getSkyRenderer, getSpawnPoint, getStarBrightness, getVoidFogYFactor, getWelcomeMessage, getWorldHasVoidParticles, getWorldTime, isBlockHighHumidity, isDaytime, registerWorld, resetRainAndThunder, setAllowedSpawnTypes, setCloudRenderer, setDimension, setSkyRenderer, setSpawnPoint, setWorldTime, shouldMapSpin, toggleRain, updateWeatherpublic void registerWorldChunkManager()
public IChunkProvider createChunkGenerator()
createChunkGenerator in class WorldProviderpublic float calculateCelestialAngle(long par1,
float par3)
calculateCelestialAngle in class WorldProviderpublic float[] calcSunriseSunsetColors(float par1,
float par2)
calcSunriseSunsetColors in class WorldProviderpublic Vec3 getFogColor(float par1, float par2)
getFogColor in class WorldProviderpublic boolean isSkyColored()
isSkyColored in class WorldProviderpublic boolean canRespawnHere()
canRespawnHere in class WorldProviderpublic boolean isSurfaceWorld()
isSurfaceWorld in class WorldProviderpublic float getCloudHeight()
getCloudHeight in class WorldProviderpublic boolean canCoordinateBeSpawn(int par1,
int par2)
canCoordinateBeSpawn in class WorldProviderpublic ChunkCoordinates getEntrancePortalLocation()
getEntrancePortalLocation in class WorldProviderpublic int getAverageGroundLevel()
getAverageGroundLevel in class WorldProviderpublic boolean doesXZShowFog(int par1,
int par2)
doesXZShowFog in class WorldProviderpublic String getDimensionName()
getDimensionName in class WorldProvider