public class EndDimension extends Dimension
IForgeDimension.SleepResult| Modifier and Type | Field and Description |
|---|---|
static BlockPos |
SPAWN |
doesWaterVaporize, lightBrightnessTable, MOON_PHASE_FACTORS, nether, world| Constructor and Description |
|---|
EndDimension(World worldIn,
DimensionType typeIn) |
| Modifier and Type | Method and Description |
|---|---|
float[] |
calcSunriseSunsetColors(float celestialAngle,
float partialTicks) |
float |
calculateCelestialAngle(long worldTime,
float partialTicks) |
boolean |
canRespawnHere() |
ChunkGenerator<?> |
createChunkGenerator() |
boolean |
doesXZShowFog(int x,
int z) |
BlockPos |
findSpawn(ChunkPos chunkPosIn,
boolean checkValid) |
BlockPos |
findSpawn(int posX,
int posZ,
boolean checkValid) |
float |
getCloudHeight() |
DragonFightManager |
getDragonFightManager() |
Vec3d |
getFogColor(float celestialAngle,
float partialTicks) |
BlockPos |
getSpawnCoordinate() |
boolean |
isSkyColored() |
boolean |
isSurfaceWorld() |
void |
onWorldSave() |
void |
tick() |
createWorldBorder, doesWaterVaporize, generateLightBrightnessTable, getCloudRenderer, getLightBrightnessTable, getMoonPhase, getSkyRenderer, getType, getVoidFogYFactor, getWeatherRenderer, getWorld, hasSkyLight, isNether, resetRainAndThunder, setCloudRenderer, setSkyRenderer, setWeatherRendererclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcalculateInitialWeather, canDoLightning, canDoRainSnowIce, canMineBlock, canSleepAt, getActualHeight, getBiome, getCloudColor, getCurrentMoonPhaseFactor, getDimension, getHeight, getHorizon, getLightmapColors, getMovementFactor, getMusicType, getRespawnDimension, getSeaLevel, getSeed, getSkyColor, getSpawnPoint, getStarBrightness, getSunBrightness, getWorldTime, initCapabilities, isDaytime, isHighHumidity, setAllowedSpawnTypes, setSpawnPoint, setWorldTime, shouldMapSpin, updateWeatherpublic static final BlockPos SPAWN
public EndDimension(World worldIn, DimensionType typeIn)
public ChunkGenerator<?> createChunkGenerator()
createChunkGenerator in class Dimensionpublic float calculateCelestialAngle(long worldTime,
float partialTicks)
calculateCelestialAngle in class Dimension@Nullable
public float[] calcSunriseSunsetColors(float celestialAngle,
float partialTicks)
calcSunriseSunsetColors in class Dimensionpublic Vec3d getFogColor(float celestialAngle, float partialTicks)
getFogColor in class Dimensionpublic boolean isSkyColored()
isSkyColored in class Dimensionpublic boolean canRespawnHere()
canRespawnHere in class Dimensionpublic boolean isSurfaceWorld()
isSurfaceWorld in class Dimensionpublic float getCloudHeight()
getCloudHeight in class Dimensionpublic BlockPos getSpawnCoordinate()
getSpawnCoordinate in class Dimension@Nullable public BlockPos findSpawn(int posX, int posZ, boolean checkValid)
public boolean doesXZShowFog(int x,
int z)
doesXZShowFog in class Dimensionpublic void onWorldSave()
onWorldSave in class Dimension@Nullable public DragonFightManager getDragonFightManager()