public class EndDimension extends Dimension
IForgeDimension.SleepResult| 修飾子とタイプ | フィールドと説明 |
|---|---|
static BlockPos |
SPAWN |
doesWaterVaporize, lightBrightnessTable, MOON_PHASE_FACTORS, nether, world| コンストラクタと説明 |
|---|
EndDimension(World worldIn,
DimensionType typeIn) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
float[] |
calcSunriseSunsetColors(float celestialAngle,
float partialTicks)
Returns array with sunrise/sunset colors
|
float |
calculateCelestialAngle(long worldTime,
float partialTicks)
Calculates the angle of sun and moon in the sky relative to a specified time (usually worldTime)
|
boolean |
canRespawnHere()
True if the player can respawn in this dimension (true = overworld, false = nether).
|
ChunkGenerator<?> |
createChunkGenerator() |
boolean |
doesXZShowFog(int x,
int z)
Returns true if the given X,Z coordinate should show environmental fog.
|
BlockPos |
findSpawn(ChunkPos chunkPosIn,
boolean checkValid) |
BlockPos |
findSpawn(int posX,
int posZ,
boolean checkValid) |
float |
getCloudHeight()
the y level at which clouds are rendered.
|
DragonFightManager |
getDragonFightManager() |
Vec3d |
getFogColor(float celestialAngle,
float partialTicks)
Return Vec3D with biome specific fog color
|
BlockPos |
getSpawnCoordinate() |
boolean |
isSkyColored() |
boolean |
isSurfaceWorld()
Returns 'true' if in the "main surface world", but 'false' if in the Nether or End dimensions.
|
void |
onWorldSave()
Called when the world is performing a save.
|
void |
tick()
Called when the world is updating entities.
|
createWorldBorder, doesWaterVaporize, getCloudRenderer, getLightBrightness, 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, getCurrentMoonPhaseFactor, getDimension, getHeight, getLightmapColors, getMovementFactor, getMusicType, getRespawnDimension, getSeaLevel, getSeed, getSpawnPoint, getWorldTime, initCapabilities, isDaytime, isHighHumidity, setAllowedSpawnTypes, setSpawnPoint, setWorldTime, shouldMapSpin, updateWeatherpublic static final BlockPos SPAWN
public EndDimension(World worldIn, DimensionType typeIn)
public ChunkGenerator<?> createChunkGenerator()
createChunkGenerator クラス内 Dimensionpublic float calculateCelestialAngle(long worldTime,
float partialTicks)
calculateCelestialAngle クラス内 Dimension@Nullable
public float[] calcSunriseSunsetColors(float celestialAngle,
float partialTicks)
calcSunriseSunsetColors クラス内 Dimensionpublic Vec3d getFogColor(float celestialAngle, float partialTicks)
getFogColor クラス内 Dimensionpublic boolean isSkyColored()
isSkyColored クラス内 Dimensionpublic boolean canRespawnHere()
canRespawnHere クラス内 Dimensionpublic boolean isSurfaceWorld()
isSurfaceWorld クラス内 Dimensionpublic float getCloudHeight()
getCloudHeight クラス内 Dimensionpublic BlockPos getSpawnCoordinate()
getSpawnCoordinate クラス内 Dimension@Nullable public BlockPos findSpawn(int posX, int posZ, boolean checkValid)
public boolean doesXZShowFog(int x,
int z)
doesXZShowFog クラス内 Dimensionpublic void onWorldSave()
onWorldSave クラス内 Dimensionpublic void tick()
@Nullable public DragonFightManager getDragonFightManager()