Package net.minecraft.world.dimension
Class Dimension
java.lang.Object
net.minecraft.world.dimension.Dimension
- Direct Known Subclasses:
OverworldDimension,TheEndDimension,TheNetherDimension
- Mappings:
Namespace Name official bgdintermediary net/minecraft/class_1208named net/minecraft/world/dimension/Dimension
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final float[]protected LayeredBiomeSourceprotected intprivate Stringprivate LevelGeneratorTypeprotected booleanprotected final float[]static final float[]protected booleanprotected World -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanfinal voidcopyFromWorls(World world) booleanintfloat[]getBackgroundColor(float skyAngle, float tickDelta) static DimensiongetById(int id) floatgetFogColor(float skyAngle, float tickDelta) float[]intgetMoonPhase(long time) abstract StringgetName()abstract StringfloatgetSkyAngle(long timeOfDay, float tickDelta) intgetType()booleanprotected voidinit()protected voidbooleanisFogThick(int x, int z) booleanisNether()booleanisSpawnableBlock(int x, int z) double
-
Field Details
-
MOON_PHASE_TO_SIZE
public static final float[] MOON_PHASE_TO_SIZE- Mappings:
Namespace Name Mixin selector official aLbgd;a:[Fintermediary field_6230Lnet/minecraft/class_1208;field_6230:[Fnamed MOON_PHASE_TO_SIZELnet/minecraft/world/dimension/Dimension;MOON_PHASE_TO_SIZE:[F
-
world
- Mappings:
Namespace Name Mixin selector official bLbgd;b:Laqu;intermediary field_4785Lnet/minecraft/class_1208;field_4785:Lnet/minecraft/class_1150;named worldLnet/minecraft/world/dimension/Dimension;world:Lnet/minecraft/world/World;
-
generatorType
- Mappings:
Namespace Name Mixin selector official hLbgd;h:Lare;intermediary field_4786Lnet/minecraft/class_1208;field_4786:Lnet/minecraft/class_1160;named generatorTypeLnet/minecraft/world/dimension/Dimension;generatorType:Lnet/minecraft/world/level/LevelGeneratorType;
-
generatorOptions
- Mappings:
Namespace Name Mixin selector official iLbgd;i:Ljava/lang/String;intermediary field_4937Lnet/minecraft/class_1208;field_4937:Ljava/lang/String;named generatorOptionsLnet/minecraft/world/dimension/Dimension;generatorOptions:Ljava/lang/String;
-
biomeSource
- Mappings:
Namespace Name Mixin selector official cLbgd;c:Larz;intermediary field_4787Lnet/minecraft/class_1208;field_4787:Lnet/minecraft/class_1175;named biomeSourceLnet/minecraft/world/dimension/Dimension;biomeSource:Lnet/minecraft/world/LayeredBiomeSource;
-
waterVaporizes
protected boolean waterVaporizes- Mappings:
Namespace Name Mixin selector official dLbgd;d:Zintermediary field_4788Lnet/minecraft/class_1208;field_4788:Znamed waterVaporizesLnet/minecraft/world/dimension/Dimension;waterVaporizes:Z
-
isNether
protected boolean isNether- Mappings:
Namespace Name Mixin selector official eLbgd;e:Zintermediary field_4789Lnet/minecraft/class_1208;field_4789:Znamed isNetherLnet/minecraft/world/dimension/Dimension;isNether:Z
-
lightLevelToBrightness
protected final float[] lightLevelToBrightness- Mappings:
Namespace Name Mixin selector official fLbgd;f:[Fintermediary field_4790Lnet/minecraft/class_1208;field_4790:[Fnamed lightLevelToBrightnessLnet/minecraft/world/dimension/Dimension;lightLevelToBrightness:[F
-
dimensionType
protected int dimensionType- Mappings:
Namespace Name Mixin selector official gLbgd;g:Iintermediary field_4791Lnet/minecraft/class_1208;field_4791:Inamed dimensionTypeLnet/minecraft/world/dimension/Dimension;dimensionType:I
-
backgroundColor
private final float[] backgroundColor- Mappings:
Namespace Name Mixin selector official jLbgd;j:[Fintermediary field_4792Lnet/minecraft/class_1208;field_4792:[Fnamed backgroundColorLnet/minecraft/world/dimension/Dimension;backgroundColor:[F
-
-
Constructor Details
-
Dimension
public Dimension()
-
-
Method Details
-
copyFromWorls
- Mappings:
Namespace Name Mixin selector official aLbgd;a(Laqu;)Vintermediary method_3981Lnet/minecraft/class_1208;method_3981(Lnet/minecraft/class_1150;)Vnamed copyFromWorlsLnet/minecraft/world/dimension/Dimension;copyFromWorls(Lnet/minecraft/world/World;)V
-
initializeLightLevelToBrightness
protected void initializeLightLevelToBrightness()- Mappings:
Namespace Name Mixin selector official aLbgd;a()Vintermediary method_3976Lnet/minecraft/class_1208;method_3976()Vnamed initializeLightLevelToBrightnessLnet/minecraft/world/dimension/Dimension;initializeLightLevelToBrightness()V
-
init
protected void init()- Mappings:
Namespace Name Mixin selector official bLbgd;b()Vintermediary method_3982Lnet/minecraft/class_1208;method_3982()Vnamed initLnet/minecraft/world/dimension/Dimension;init()V
-
createChunkGenerator
- Mappings:
Namespace Name Mixin selector official cLbgd;c()Lbfe;intermediary method_3986Lnet/minecraft/class_1208;method_3986()Lnet/minecraft/class_1193;named createChunkGeneratorLnet/minecraft/world/dimension/Dimension;createChunkGenerator()Lnet/minecraft/world/chunk/ChunkProvider;
-
isSpawnableBlock
public boolean isSpawnableBlock(int x, int z) - Mappings:
Namespace Name Mixin selector official aLbgd;a(II)Zintermediary method_3979Lnet/minecraft/class_1208;method_3979(II)Znamed isSpawnableBlockLnet/minecraft/world/dimension/Dimension;isSpawnableBlock(II)Z
-
getSkyAngle
public float getSkyAngle(long timeOfDay, float tickDelta) - Mappings:
Namespace Name Mixin selector official aLbgd;a(JF)Fintermediary method_3980Lnet/minecraft/class_1208;method_3980(JF)Fnamed getSkyAngleLnet/minecraft/world/dimension/Dimension;getSkyAngle(JF)F
-
getMoonPhase
public int getMoonPhase(long time) - Mappings:
Namespace Name Mixin selector official aLbgd;a(J)Iintermediary method_3985Lnet/minecraft/class_1208;method_3985(J)Inamed getMoonPhaseLnet/minecraft/world/dimension/Dimension;getMoonPhase(J)I
-
canPlayersSleep
public boolean canPlayersSleep()- Mappings:
Namespace Name Mixin selector official dLbgd;d()Zintermediary method_3987Lnet/minecraft/class_1208;method_3987()Znamed canPlayersSleepLnet/minecraft/world/dimension/Dimension;canPlayersSleep()Z
-
getBackgroundColor
- Mappings:
Namespace Name Mixin selector official aLbgd;a(FF)[Fintermediary method_3977Lnet/minecraft/class_1208;method_3977(FF)[Fnamed getBackgroundColorLnet/minecraft/world/dimension/Dimension;getBackgroundColor(FF)[F
-
getFogColor
- Mappings:
Namespace Name Mixin selector official bLbgd;b(FF)Lbrw;intermediary method_6541Lnet/minecraft/class_1208;method_6541(FF)Lnet/minecraft/class_236;named getFogColorLnet/minecraft/world/dimension/Dimension;getFogColor(FF)Lnet/minecraft/util/math/Vec3d;
-
containsWorldSpawn
public boolean containsWorldSpawn()- Mappings:
Namespace Name Mixin selector official eLbgd;e()Zintermediary method_3988Lnet/minecraft/class_1208;method_3988()Znamed containsWorldSpawnLnet/minecraft/world/dimension/Dimension;containsWorldSpawn()Z
-
getById
- Mappings:
Namespace Name Mixin selector official aLbgd;a(I)Lbgd;intermediary method_3978Lnet/minecraft/class_1208;method_3978(I)Lnet/minecraft/class_1208;named getByIdLnet/minecraft/world/dimension/Dimension;getById(I)Lnet/minecraft/world/dimension/Dimension;
-
getCloudHeight
- Mappings:
Namespace Name Mixin selector official fLbgd;f()Fintermediary method_3989Lnet/minecraft/class_1208;method_3989()Fnamed getCloudHeightLnet/minecraft/world/dimension/Dimension;getCloudHeight()F
-
hasGround
- Mappings:
Namespace Name Mixin selector official gLbgd;g()Zintermediary method_3990Lnet/minecraft/class_1208;method_3990()Znamed hasGroundLnet/minecraft/world/dimension/Dimension;hasGround()Z
-
getForcedSpawnPoint
- Mappings:
Namespace Name Mixin selector official hLbgd;h()Ldt;intermediary method_3991Lnet/minecraft/class_1208;method_3991()Lnet/minecraft/class_2552;named getForcedSpawnPointLnet/minecraft/world/dimension/Dimension;getForcedSpawnPoint()Lnet/minecraft/util/math/BlockPos;
-
getAverageYLevel
public int getAverageYLevel()- Mappings:
Namespace Name Mixin selector official iLbgd;i()Iintermediary method_3992Lnet/minecraft/class_1208;method_3992()Inamed getAverageYLevelLnet/minecraft/world/dimension/Dimension;getAverageYLevel()I
-
method_3994
- Mappings:
Namespace Name Mixin selector official jLbgd;j()Dintermediary method_3994Lnet/minecraft/class_1208;method_3994()Dnamed method_3994Lnet/minecraft/world/dimension/Dimension;method_3994()D
-
isFogThick
- Mappings:
Namespace Name Mixin selector official bLbgd;b(II)Zintermediary method_3984Lnet/minecraft/class_1208;method_3984(II)Znamed isFogThickLnet/minecraft/world/dimension/Dimension;isFogThick(II)Z
-
getName
- Mappings:
Namespace Name Mixin selector official kLbgd;k()Ljava/lang/String;intermediary method_3995Lnet/minecraft/class_1208;method_3995()Ljava/lang/String;named getNameLnet/minecraft/world/dimension/Dimension;getName()Ljava/lang/String;
-
getPersistentStateSuffix
- Mappings:
Namespace Name Mixin selector official lLbgd;l()Ljava/lang/String;intermediary method_9174Lnet/minecraft/class_1208;method_9174()Ljava/lang/String;named getPersistentStateSuffixLnet/minecraft/world/dimension/Dimension;getPersistentStateSuffix()Ljava/lang/String;
-
getBiomeSource
- Mappings:
Namespace Name Mixin selector official mLbgd;m()Larz;intermediary method_9175Lnet/minecraft/class_1208;method_9175()Lnet/minecraft/class_1175;named getBiomeSourceLnet/minecraft/world/dimension/Dimension;getBiomeSource()Lnet/minecraft/world/LayeredBiomeSource;
-
doesWaterVaporize
public boolean doesWaterVaporize()- Mappings:
Namespace Name Mixin selector official nLbgd;n()Zintermediary method_9176Lnet/minecraft/class_1208;method_9176()Znamed doesWaterVaporizeLnet/minecraft/world/dimension/Dimension;doesWaterVaporize()Z
-
isNether
public boolean isNether()- Mappings:
Namespace Name Mixin selector official oLbgd;o()Zintermediary method_9177Lnet/minecraft/class_1208;method_9177()Znamed isNetherLnet/minecraft/world/dimension/Dimension;isNether()Z
-
getLightLevelToBrightness
public float[] getLightLevelToBrightness()- Mappings:
Namespace Name Mixin selector official pLbgd;p()[Fintermediary method_9178Lnet/minecraft/class_1208;method_9178()[Fnamed getLightLevelToBrightnessLnet/minecraft/world/dimension/Dimension;getLightLevelToBrightness()[F
-
getType
public int getType()- Mappings:
Namespace Name Mixin selector official qLbgd;q()Iintermediary method_9179Lnet/minecraft/class_1208;method_9179()Inamed getTypeLnet/minecraft/world/dimension/Dimension;getType()I
-
createWorldBorder
- Mappings:
Namespace Name Mixin selector official rLbgd;r()Lbfb;intermediary method_9180Lnet/minecraft/class_1208;method_9180()Lnet/minecraft/class_2250;named createWorldBorderLnet/minecraft/world/dimension/Dimension;createWorldBorder()Lnet/minecraft/world/border/WorldBorder;
-