public class TheNetherDimension extends Dimension
isNether, lightLevelToBrightness, MOON_PHASE_TO_SIZE, waterVaporizes, world| Constructor and Description |
|---|
TheNetherDimension(World world,
DimensionType type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canPlayersSleep() |
ChunkGenerator<?> |
createChunkGenerator() |
WorldBorder |
createWorldBorder() |
float |
getSkyAngle(long timeOfDay,
float tickDelta) |
BlockPos |
getSpawningBlockInChunk(ChunkPos chunkPos,
boolean checkMobSpawnValidity) |
BlockPos |
getTopSpawningBlockPosition(int x,
int z,
boolean checkMobSpawnValidity) |
DimensionType |
getType() |
boolean |
hasVisibleSky() |
boolean |
isFogThick(int x,
int z) |
Vec3d |
modifyFogColor(Vec3d vec3d,
float tickDelta)
Modify the fog color offered (usually by the biome).
|
doesWaterVaporize, getBackgroundColor, getBrightness, getCloudHeight, getForcedSpawnPoint, getHorizonShadingRatio, getMoonPhase, hasGround, hasSkyLight, isNether, saveWorldData, updatepublic TheNetherDimension(World world, DimensionType type)
@Environment(value=CLIENT) public Vec3d modifyFogColor(Vec3d vec3d, float tickDelta)
The overworld slightly whiteshifts and blueshifts this color; the nether doesn't touch it; the end significantly blackshifts this color.
modifyFogColor in class Dimensionpublic ChunkGenerator<?> createChunkGenerator()
createChunkGenerator in class Dimensionpublic boolean hasVisibleSky()
hasVisibleSky in class Dimension@Nullable public BlockPos getSpawningBlockInChunk(ChunkPos chunkPos, boolean checkMobSpawnValidity)
getSpawningBlockInChunk in class Dimension@Nullable public BlockPos getTopSpawningBlockPosition(int x, int z, boolean checkMobSpawnValidity)
getTopSpawningBlockPosition in class Dimensionpublic float getSkyAngle(long timeOfDay,
float tickDelta)
getSkyAngle in class Dimensionpublic boolean canPlayersSleep()
canPlayersSleep in class Dimension@Environment(value=CLIENT)
public boolean isFogThick(int x,
int z)
isFogThick in class Dimensionpublic WorldBorder createWorldBorder()
createWorldBorder in class Dimensionpublic DimensionType getType()