public class OverworldDimension extends Dimension
IForgeDimension.SleepResultdoesWaterVaporize, lightBrightnessTable, MOON_PHASE_FACTORS, nether, world| コンストラクタと説明 |
|---|
OverworldDimension(World worldIn,
DimensionType typeIn) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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<? extends GenerationSettings> |
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) |
Vec3d |
getFogColor(float celestialAngle,
float partialTicks)
Return Vec3D with biome specific fog color
|
boolean |
isSurfaceWorld()
Returns 'true' if in the "main surface world", but 'false' if in the Nether or End dimensions.
|
calcSunriseSunsetColors, createWorldBorder, doesWaterVaporize, getCloudHeight, getCloudRenderer, getLightBrightness, getMoonPhase, getSkyRenderer, getSpawnCoordinate, getType, getVoidFogYFactor, getWeatherRenderer, getWorld, hasSkyLight, isNether, isSkyColored, onWorldSave, resetRainAndThunder, setCloudRenderer, setSkyRenderer, setWeatherRenderer, tickclone, 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 OverworldDimension(World worldIn, DimensionType typeIn)
public ChunkGenerator<? extends GenerationSettings> createChunkGenerator()
createChunkGenerator クラス内 Dimension@Nullable public BlockPos findSpawn(int posX, int posZ, boolean checkValid)
public float calculateCelestialAngle(long worldTime,
float partialTicks)
calculateCelestialAngle クラス内 Dimensionpublic boolean isSurfaceWorld()
isSurfaceWorld クラス内 Dimensionpublic Vec3d getFogColor(float celestialAngle, float partialTicks)
getFogColor クラス内 Dimensionpublic boolean canRespawnHere()
canRespawnHere クラス内 Dimensionpublic boolean doesXZShowFog(int x,
int z)
doesXZShowFog クラス内 Dimension