public class WorldProviderHell extends WorldProvider
WorldProvider.WorldSleepResultbiomeProvider, doesWaterVaporize, hasSkyLight, lightBrightnessTable, MOON_PHASE_FACTORS, nether, world| Constructor and Description |
|---|
WorldProviderHell() |
| Modifier and Type | Method and Description |
|---|---|
float |
calculateCelestialAngle(long worldTime,
float partialTicks)
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).
|
IChunkGenerator |
createChunkGenerator() |
WorldBorder |
createWorldBorder() |
boolean |
doesXZShowFog(int x,
int z)
Returns true if the given X,Z coordinate should show environmental fog.
|
protected void |
generateLightBrightnessTable()
Creates the light to brightness table
|
DimensionType |
getDimensionType() |
Vec3d |
getFogColor(float p_76562_1_,
float p_76562_2_)
Return Vec3D with biome specific fog color
|
void |
init()
Creates a new
BiomeProvider for the WorldProvider, and also sets the values of #hasSkylight and
#hasNoSky appropriately. |
boolean |
isSurfaceWorld()
Returns 'true' if in the "main surface world", but 'false' if in the Nether or End dimensions.
|
calcSunriseSunsetColors, calculateInitialWeather, canBlockFreeze, canDoLightning, canDoRainSnowIce, canDropChunk, canMineBlock, canSleepAt, canSnowAt, doesWaterVaporize, getActualHeight, getAverageGroundLevel, getBiomeForCoords, getBiomeProvider, getCloudColor, getCloudHeight, getCloudRenderer, getCurrentMoonPhaseFactor, getDimension, getHeight, getHorizon, getLightBrightnessTable, getLightmapColors, getMoonPhase, getMovementFactor, getMusicType, getRandomizedSpawnPoint, getRespawnDimension, getSaveFolder, getSeed, getSkyColor, getSkyRenderer, getSpawnCoordinate, getSpawnPoint, getStarBrightness, getSunBrightness, getSunBrightnessFactor, getVoidFogYFactor, getWeatherRenderer, getWorldTime, hasSkyLight, initCapabilities, isBlockHighHumidity, isDaytime, isNether, isSkyColored, onPlayerAdded, onPlayerRemoved, onWorldSave, onWorldUpdateEntities, resetRainAndThunder, setAllowedSpawnTypes, setCloudRenderer, setDimension, setSkyRenderer, setSpawnPoint, setWeatherRenderer, setWorld, setWorldTime, shouldClientCheckLighting, shouldMapSpin, updateWeatherpublic void init()
BiomeProvider for the WorldProvider, and also sets the values of #hasSkylight and
#hasNoSky appropriately.
Note that subclasses generally override this method without calling the parent version.init in class WorldProviderpublic Vec3d getFogColor(float p_76562_1_, float p_76562_2_)
getFogColor in class WorldProviderprotected void generateLightBrightnessTable()
generateLightBrightnessTable in class WorldProviderpublic IChunkGenerator createChunkGenerator()
createChunkGenerator in class WorldProviderpublic boolean isSurfaceWorld()
isSurfaceWorld in class WorldProviderpublic boolean canCoordinateBeSpawn(int x,
int z)
canCoordinateBeSpawn in class WorldProviderpublic float calculateCelestialAngle(long worldTime,
float partialTicks)
calculateCelestialAngle in class WorldProviderpublic boolean canRespawnHere()
canRespawnHere in class WorldProviderpublic boolean doesXZShowFog(int x,
int z)
doesXZShowFog in class WorldProviderpublic WorldBorder createWorldBorder()
createWorldBorder in class WorldProviderpublic DimensionType getDimensionType()
getDimensionType in class WorldProvider