|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.minecraft.world.WorldProvider
net.minecraft.world.WorldProviderEnd
public class WorldProviderEnd
| Field Summary |
|---|
| Fields inherited from class net.minecraft.world.WorldProvider |
|---|
dimensionId, field_82913_c, hasNoSky, isHellWorld, lightBrightnessTable, terrainType, worldChunkMgr, worldObj |
| Constructor Summary | |
|---|---|
WorldProviderEnd()
|
|
| Method Summary | |
|---|---|
float[] |
calcSunriseSunsetColors(float par1,
float par2)
|
float |
calculateCelestialAngle(long par1,
float par3)
Calculates the angle of sun and moon in the sky relative to a specified time (usually worldTime) |
boolean |
canCoordinateBeSpawn(int par1,
int par2)
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 par1,
int par2)
|
int |
getAverageGroundLevel()
|
float |
getCloudHeight()
|
String |
getDimensionName()
Returns the dimension's name, e.g. |
ChunkCoordinates |
getEntrancePortalLocation()
Gets the hard-coded portal location to use when entering this dimension. |
Vec3 |
getFogColor(float par1,
float par2)
|
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 |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WorldProviderEnd()
| Method Detail |
|---|
public void registerWorldChunkManager()
public IChunkProvider createChunkGenerator()
createChunkGenerator in class WorldProvider
public float calculateCelestialAngle(long par1,
float par3)
calculateCelestialAngle in class WorldProvider
public float[] calcSunriseSunsetColors(float par1,
float par2)
calcSunriseSunsetColors in class WorldProvider
public Vec3 getFogColor(float par1,
float par2)
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 WorldProvider
public boolean canCoordinateBeSpawn(int par1,
int par2)
canCoordinateBeSpawn in class WorldProviderpublic ChunkCoordinates getEntrancePortalLocation()
getEntrancePortalLocation in class WorldProviderpublic int getAverageGroundLevel()
getAverageGroundLevel in class WorldProvider
public boolean doesXZShowFog(int par1,
int par2)
doesXZShowFog in class WorldProviderpublic String getDimensionName()
getDimensionName in class WorldProvider
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||