public abstract class WorldProvider
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
dimensionId |
java.lang.String |
field_82913_c |
boolean |
hasNoSky |
boolean |
isHellWorld |
float[] |
lightBrightnessTable |
static float[] |
moonPhaseFactors |
WorldType |
terrainType |
WorldChunkManager |
worldChunkMgr |
World |
worldObj |
Constructor and Description |
---|
WorldProvider() |
Modifier and Type | Method and Description |
---|---|
float[] |
calcSunriseSunsetColors(float p_76560_1_,
float p_76560_2_) |
float |
calculateCelestialAngle(long p_76563_1_,
float p_76563_3_) |
boolean |
canCoordinateBeSpawn(int p_76566_1_,
int p_76566_2_) |
boolean |
canRespawnHere() |
IChunkProvider |
createChunkGenerator() |
boolean |
doesXZShowFog(int p_76568_1_,
int p_76568_2_) |
protected void |
generateLightBrightnessTable() |
int |
getAverageGroundLevel() |
float |
getCloudHeight() |
abstract java.lang.String |
getDimensionName() |
ChunkCoordinates |
getEntrancePortalLocation() |
Vec3 |
getFogColor(float p_76562_1_,
float p_76562_2_) |
int |
getMoonPhase(long p_76559_1_) |
static WorldProvider |
getProviderForDimension(int p_76570_0_) |
double |
getVoidFogYFactor() |
boolean |
getWorldHasVoidParticles() |
boolean |
isSkyColored() |
boolean |
isSurfaceWorld() |
void |
registerWorld(World p_76558_1_) |
protected void |
registerWorldChunkManager() |
public static final float[] moonPhaseFactors
public World worldObj
public WorldType terrainType
public java.lang.String field_82913_c
public WorldChunkManager worldChunkMgr
public boolean isHellWorld
public boolean hasNoSky
public float[] lightBrightnessTable
public int dimensionId
public final void registerWorld(World p_76558_1_)
protected void generateLightBrightnessTable()
protected void registerWorldChunkManager()
public IChunkProvider createChunkGenerator()
public boolean canCoordinateBeSpawn(int p_76566_1_, int p_76566_2_)
public float calculateCelestialAngle(long p_76563_1_, float p_76563_3_)
public int getMoonPhase(long p_76559_1_)
public boolean isSurfaceWorld()
public float[] calcSunriseSunsetColors(float p_76560_1_, float p_76560_2_)
public Vec3 getFogColor(float p_76562_1_, float p_76562_2_)
public boolean canRespawnHere()
public static WorldProvider getProviderForDimension(int p_76570_0_)
public float getCloudHeight()
public boolean isSkyColored()
public ChunkCoordinates getEntrancePortalLocation()
public int getAverageGroundLevel()
public boolean getWorldHasVoidParticles()
public double getVoidFogYFactor()
public boolean doesXZShowFog(int p_76568_1_, int p_76568_2_)
public abstract java.lang.String getDimensionName()