public class EndDimension extends Dimension
IForgeDimension.SleepResult
Modifier and Type | Field and Description |
---|---|
private DragonFightManager |
dragonFightManager |
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, getCloudRenderer, getLightBrightness, getMoonPhase, getSkyRenderer, getType, getVoidFogYFactor, getWeatherRenderer, getWorld, hasSkyLight, isNether, resetRainAndThunder, setCloudRenderer, setSkyRenderer, setWeatherRenderer
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 static final BlockPos SPAWN
private final DragonFightManager dragonFightManager
public EndDimension(World worldIn, DimensionType typeIn)
public ChunkGenerator<?> createChunkGenerator()
createChunkGenerator
in class Dimension
public float calculateCelestialAngle(long worldTime, float partialTicks)
calculateCelestialAngle
in class Dimension
@Nullable public float[] calcSunriseSunsetColors(float celestialAngle, float partialTicks)
calcSunriseSunsetColors
in class Dimension
public Vec3d getFogColor(float celestialAngle, float partialTicks)
getFogColor
in class Dimension
public boolean isSkyColored()
isSkyColored
in class Dimension
public boolean canRespawnHere()
canRespawnHere
in class Dimension
public boolean isSurfaceWorld()
isSurfaceWorld
in class Dimension
public float getCloudHeight()
getCloudHeight
in class Dimension
public 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 Dimension
public void onWorldSave()
onWorldSave
in class Dimension
@Nullable public DragonFightManager getDragonFightManager()