public class WorldProviderEnd extends WorldProvider
dimensionId, hasNoSky, isHellWorld, lightBrightnessTable, moonPhaseFactors, worldChunkMgr, worldObj| Constructor and Description |
|---|
WorldProviderEnd() |
| Modifier and Type | Method and Description |
|---|---|
float[] |
calcSunriseSunsetColors(float celestialAngle,
float partialTicks)
Returns array with sunrise/sunset colors
|
float |
calculateCelestialAngle(long p_76563_1_,
float p_76563_3_)
Calculates the angle of sun and moon in the sky relative to a specified time (usually worldTime)
|
boolean |
canCoordinateBeSpawn(int x,
int z)
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 x,
int z)
Returns true if the given X,Z coordinate should show environmental fog.
|
int |
getAverageGroundLevel() |
float |
getCloudHeight()
the y level at which clouds are rendered.
|
java.lang.String |
getDimensionName()
Returns the dimension's name, e.g.
|
Vec3 |
getFogColor(float p_76562_1_,
float p_76562_2_)
Return Vec3D with biome specific fog color
|
java.lang.String |
getInternalNameSuffix() |
BlockPos |
getSpawnCoordinate() |
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, doesWaterVaporize, drawClouds, generateLightBrightnessTable, getActualHeight, getBiomeGenForCoords, getCloudRenderer, getCurrentMoonPhaseFactor, getDepartMessage, getDimensionId, getHasNoSky, getHeight, getHorizon, getLightBrightnessTable, getMoonPhase, getMovementFactor, getProviderForDimension, getRandomizedSpawnPoint, getRespawnDimension, getSaveFolder, getSeed, getSkyColor, getSkyRenderer, getSpawnPoint, getStarBrightness, getSunBrightness, getSunBrightnessFactor, getVoidFogYFactor, getWeatherRenderer, getWelcomeMessage, getWorldBorder, getWorldChunkManager, getWorldTime, isBlockHighHumidity, isDaytime, registerWorld, resetRainAndThunder, setAllowedSpawnTypes, setCloudRenderer, setDimension, setSkyRenderer, setSpawnPoint, setWeatherRenderer, setWorldTime, shouldMapSpin, updateWeatherpublic void registerWorldChunkManager()
registerWorldChunkManager in class WorldProviderpublic IChunkProvider createChunkGenerator()
createChunkGenerator in class WorldProviderpublic float calculateCelestialAngle(long p_76563_1_,
float p_76563_3_)
calculateCelestialAngle in class WorldProviderpublic float[] calcSunriseSunsetColors(float celestialAngle,
float partialTicks)
calcSunriseSunsetColors in class WorldProviderpublic Vec3 getFogColor(float p_76562_1_, float p_76562_2_)
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 x,
int z)
canCoordinateBeSpawn in class WorldProviderpublic BlockPos getSpawnCoordinate()
getSpawnCoordinate in class WorldProviderpublic int getAverageGroundLevel()
getAverageGroundLevel in class WorldProviderpublic boolean doesXZShowFog(int x,
int z)
doesXZShowFog in class WorldProviderpublic java.lang.String getDimensionName()
getDimensionName in class WorldProviderpublic java.lang.String getInternalNameSuffix()
getInternalNameSuffix in class WorldProvider