Package net.minecraft.src
Class WorldProvider
- java.lang.Object
-
- net.minecraft.src.WorldProvider
-
- Direct Known Subclasses:
WorldProviderEnd
,WorldProviderHell
,WorldProviderSurface
public abstract class WorldProvider extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description boolean
hasNoSky
boolean
isHellWorld
float[]
lightBrightnessTable
WorldType
terrainType
WorldChunkManager
worldChunkMgr
World
worldObj
int
worldType
-
Constructor Summary
Constructors Constructor Description WorldProvider()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description @net.minecraft.modding.api.Side.Client float[]
calcSunriseSunsetColors(float var1, float var2)
float
calculateCelestialAngle(long var1, float var3)
boolean
canCoordinateBeSpawn(int var1, int var2)
boolean
canRespawnHere()
boolean
func_48217_e()
@net.minecraft.modding.api.Side.Client boolean
func_48218_b(int var1, int var2)
protected void
generateLightBrightnessTable()
int
getAverageGroundLevel()
IChunkProvider
getChunkProvider()
@net.minecraft.modding.api.Side.Client float
getCloudHeight()
ChunkCoordinates
getEntrancePortalLocation()
@Client Vec3D
getFogColor(float var1, float var2)
@net.minecraft.modding.api.Side.Client int
getMoonPhase(long var1, float var3)
static WorldProvider
getProviderForDimension(int var0)
@net.minecraft.modding.api.Side.Client double
getVoidFogYFactor()
@net.minecraft.modding.api.Side.Client boolean
getWorldHasNoSky()
@net.minecraft.modding.api.Side.Client boolean
isSkyColored()
void
registerWorld(World var1)
protected void
registerWorldChunkManager()
-
-
-
Field Detail
-
worldObj
public World worldObj
-
terrainType
public WorldType terrainType
-
worldChunkMgr
public WorldChunkManager worldChunkMgr
-
isHellWorld
public boolean isHellWorld
-
hasNoSky
public boolean hasNoSky
-
lightBrightnessTable
public float[] lightBrightnessTable
-
worldType
public int worldType
-
-
Method Detail
-
registerWorld
public final void registerWorld(World var1)
-
generateLightBrightnessTable
protected void generateLightBrightnessTable()
-
registerWorldChunkManager
protected void registerWorldChunkManager()
-
getChunkProvider
public IChunkProvider getChunkProvider()
-
canCoordinateBeSpawn
public boolean canCoordinateBeSpawn(int var1, int var2)
-
calculateCelestialAngle
public float calculateCelestialAngle(long var1, float var3)
-
getMoonPhase
@Client public @net.minecraft.modding.api.Side.Client int getMoonPhase(long var1, float var3)
-
func_48217_e
public boolean func_48217_e()
-
calcSunriseSunsetColors
@Client public @net.minecraft.modding.api.Side.Client float[] calcSunriseSunsetColors(float var1, float var2)
-
canRespawnHere
public boolean canRespawnHere()
-
getProviderForDimension
public static WorldProvider getProviderForDimension(int var0)
-
getCloudHeight
@Client public @net.minecraft.modding.api.Side.Client float getCloudHeight()
-
isSkyColored
@Client public @net.minecraft.modding.api.Side.Client boolean isSkyColored()
-
getEntrancePortalLocation
public ChunkCoordinates getEntrancePortalLocation()
-
getAverageGroundLevel
public int getAverageGroundLevel()
-
getWorldHasNoSky
@Client public @net.minecraft.modding.api.Side.Client boolean getWorldHasNoSky()
-
getVoidFogYFactor
@Client public @net.minecraft.modding.api.Side.Client double getVoidFogYFactor()
-
func_48218_b
@Client public @net.minecraft.modding.api.Side.Client boolean func_48218_b(int var1, int var2)
-
-