|
||||||||||
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.WorldProviderHell
public class WorldProviderHell
Field Summary |
---|
Fields inherited from class net.minecraft.world.WorldProvider |
---|
dimensionId, field_82913_c, hasNoSky, isHellWorld, lightBrightnessTable, terrainType, worldChunkMgr, worldObj |
Constructor Summary | |
---|---|
WorldProviderHell()
|
Method Summary | |
---|---|
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)
|
String |
getDimensionName()
Returns the dimension's name, e.g. |
Vec3 |
getFogColor(float par1,
float par2)
|
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 WorldProviderHell()
Method Detail |
---|
public void registerWorldChunkManager()
public Vec3 getFogColor(float par1, float par2)
getFogColor
in class WorldProvider
public IChunkProvider createChunkGenerator()
createChunkGenerator
in class WorldProvider
public boolean isSurfaceWorld()
isSurfaceWorld
in class WorldProvider
public boolean canCoordinateBeSpawn(int par1, int par2)
canCoordinateBeSpawn
in class WorldProvider
public float calculateCelestialAngle(long par1, float par3)
calculateCelestialAngle
in class WorldProvider
public boolean canRespawnHere()
canRespawnHere
in class WorldProvider
public boolean doesXZShowFog(int par1, int par2)
doesXZShowFog
in class WorldProvider
public String getDimensionName()
getDimensionName
in class WorldProvider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |