public class NetherDimension extends Dimension
IForgeDimension.SleepResult
doesWaterVaporize, lightBrightnessTable, MOON_PHASE_FACTORS, nether, world
コンストラクタと説明 |
---|
NetherDimension(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<?> |
createChunkGenerator() |
WorldBorder |
createWorldBorder() |
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, 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 NetherDimension(World worldIn, DimensionType typeIn)
public Vec3d getFogColor(float celestialAngle, float partialTicks)
getFogColor
クラス内 Dimension
public ChunkGenerator<?> createChunkGenerator()
createChunkGenerator
クラス内 Dimension
public boolean isSurfaceWorld()
isSurfaceWorld
クラス内 Dimension
@Nullable public BlockPos findSpawn(int posX, int posZ, boolean checkValid)
public float calculateCelestialAngle(long worldTime, float partialTicks)
calculateCelestialAngle
クラス内 Dimension
public boolean canRespawnHere()
canRespawnHere
クラス内 Dimension
public boolean doesXZShowFog(int x, int z)
doesXZShowFog
クラス内 Dimension
public WorldBorder createWorldBorder()
createWorldBorder
クラス内 Dimension