public class OverworldDimension extends Dimension
IForgeDimension.SleepResult
doesWaterVaporize, lightBrightnessTable, MOON_PHASE_FACTORS, nether, world
Constructor and Description |
---|
OverworldDimension(World worldIn,
DimensionType typeIn) |
Modifier and Type | Method and Description |
---|---|
float |
calculateCelestialAngle(long worldTime,
float partialTicks) |
boolean |
canRespawnHere() |
ChunkGenerator<? extends GenerationSettings> |
createChunkGenerator() |
boolean |
doesXZShowFog(int x,
int z) |
BlockPos |
findSpawn(ChunkPos chunkPosIn,
boolean checkValid) |
BlockPos |
findSpawn(int posX,
int posZ,
boolean checkValid) |
Vec3d |
getFogColor(float celestialAngle,
float partialTicks) |
boolean |
isSurfaceWorld() |
calcSunriseSunsetColors, createWorldBorder, doesWaterVaporize, getCloudHeight, getCloudRenderer, getLightBrightness, getMoonPhase, getSkyRenderer, getSpawnCoordinate, getType, getVoidFogYFactor, getWeatherRenderer, getWorld, hasSkyLight, isNether, isSkyColored, onWorldSave, resetRainAndThunder, setCloudRenderer, setSkyRenderer, setWeatherRenderer, tick
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
calculateInitialWeather, canDoLightning, canDoRainSnowIce, canMineBlock, canSleepAt, getActualHeight, getCurrentMoonPhaseFactor, getDimension, getHeight, getLightmapColors, getMovementFactor, getMusicType, getRespawnDimension, getSeaLevel, getSeed, getSpawnPoint, getWorldTime, initCapabilities, isDaytime, isHighHumidity, setAllowedSpawnTypes, setSpawnPoint, setWorldTime, shouldMapSpin, updateWeather
public OverworldDimension(World worldIn, DimensionType typeIn)
public ChunkGenerator<? extends GenerationSettings> createChunkGenerator()
createChunkGenerator
in class Dimension
@Nullable public BlockPos findSpawn(int posX, int posZ, boolean checkValid)
public float calculateCelestialAngle(long worldTime, float partialTicks)
calculateCelestialAngle
in class Dimension
public boolean isSurfaceWorld()
isSurfaceWorld
in class Dimension
public Vec3d getFogColor(float celestialAngle, float partialTicks)
getFogColor
in class Dimension
public boolean canRespawnHere()
canRespawnHere
in class Dimension
public boolean doesXZShowFog(int x, int z)
doesXZShowFog
in class Dimension