public class WorldProviderEnd extends WorldProvider
WorldProvider.WorldSleepResult
Modifier and Type | Field and Description |
---|---|
private DragonFightManager |
dragonFightManager |
biomeProvider, doesWaterVaporize, hasSkyLight, lightBrightnessTable, MOON_PHASE_FACTORS, nether, world
Constructor and Description |
---|
WorldProviderEnd() |
Modifier and Type | Method and Description |
---|---|
float[] |
calcSunriseSunsetColors(float celestialAngle,
float partialTicks) |
float |
calculateCelestialAngle(long worldTime,
float partialTicks) |
boolean |
canCoordinateBeSpawn(int x,
int z) |
boolean |
canRespawnHere() |
IChunkGenerator |
createChunkGenerator() |
boolean |
doesXZShowFog(int x,
int z) |
int |
getAverageGroundLevel() |
float |
getCloudHeight() |
DimensionType |
getDimensionType() |
DragonFightManager |
getDragonFightManager() |
Vec3d |
getFogColor(float p_76562_1_,
float p_76562_2_) |
BlockPos |
getSpawnCoordinate() |
void |
init() |
boolean |
isSkyColored() |
boolean |
isSurfaceWorld() |
void |
onPlayerAdded(EntityPlayerMP player) |
void |
onPlayerRemoved(EntityPlayerMP player) |
void |
onWorldSave() |
void |
onWorldUpdateEntities() |
calculateInitialWeather, canBlockFreeze, canDoLightning, canDoRainSnowIce, canDropChunk, canMineBlock, canSleepAt, canSnowAt, createWorldBorder, doesWaterVaporize, generateLightBrightnessTable, getActualHeight, getBiomeForCoords, getBiomeProvider, getCloudColor, getCloudRenderer, getCurrentMoonPhaseFactor, getDimension, getHeight, getHorizon, getLightBrightnessTable, getLightmapColors, getMoonPhase, getMovementFactor, getMusicType, getRandomizedSpawnPoint, getRespawnDimension, getSaveFolder, getSeed, getSkyColor, getSkyRenderer, getSpawnPoint, getStarBrightness, getSunBrightness, getSunBrightnessFactor, getVoidFogYFactor, getWeatherRenderer, getWorldTime, hasSkyLight, initCapabilities, isBlockHighHumidity, isDaytime, isNether, resetRainAndThunder, setAllowedSpawnTypes, setCloudRenderer, setDimension, setSkyRenderer, setSpawnPoint, setWeatherRenderer, setWorld, setWorldTime, shouldClientCheckLighting, shouldMapSpin, updateWeather
private DragonFightManager dragonFightManager
public void init()
init
in class WorldProvider
public IChunkGenerator createChunkGenerator()
createChunkGenerator
in class WorldProvider
public float calculateCelestialAngle(long worldTime, float partialTicks)
calculateCelestialAngle
in class WorldProvider
@Nullable public float[] calcSunriseSunsetColors(float celestialAngle, float partialTicks)
calcSunriseSunsetColors
in class WorldProvider
public Vec3d getFogColor(float p_76562_1_, float p_76562_2_)
getFogColor
in class WorldProvider
public boolean isSkyColored()
isSkyColored
in class WorldProvider
public boolean canRespawnHere()
canRespawnHere
in class WorldProvider
public boolean isSurfaceWorld()
isSurfaceWorld
in class WorldProvider
public float getCloudHeight()
getCloudHeight
in class WorldProvider
public boolean canCoordinateBeSpawn(int x, int z)
canCoordinateBeSpawn
in class WorldProvider
public BlockPos getSpawnCoordinate()
getSpawnCoordinate
in class WorldProvider
public int getAverageGroundLevel()
getAverageGroundLevel
in class WorldProvider
public boolean doesXZShowFog(int x, int z)
doesXZShowFog
in class WorldProvider
public DimensionType getDimensionType()
getDimensionType
in class WorldProvider
public void onWorldSave()
onWorldSave
in class WorldProvider
public void onWorldUpdateEntities()
onWorldUpdateEntities
in class WorldProvider
@Nullable public DragonFightManager getDragonFightManager()
public void onPlayerAdded(EntityPlayerMP player)
onPlayerAdded
in class WorldProvider
public void onPlayerRemoved(EntityPlayerMP player)
onPlayerRemoved
in class WorldProvider