Class Dimension

java.lang.Object
net.minecraft.world.dimension.Dimension
Direct Known Subclasses:
OverworldDimension, TheEndDimension, TheNetherDimension

public abstract class Dimension extends Object
Mappings:
Namespace Name
official bgd
intermediary net/minecraft/class_1208
named net/minecraft/world/dimension/Dimension
  • Field Details

    • MOON_PHASE_TO_SIZE

      public static final float[] MOON_PHASE_TO_SIZE
      Mappings:
      Namespace Name Mixin selector
      official a Lbgd;a:[F
      intermediary field_6230 Lnet/minecraft/class_1208;field_6230:[F
      named MOON_PHASE_TO_SIZE Lnet/minecraft/world/dimension/Dimension;MOON_PHASE_TO_SIZE:[F
    • world

      protected World world
      Mappings:
      Namespace Name Mixin selector
      official b Lbgd;b:Laqu;
      intermediary field_4785 Lnet/minecraft/class_1208;field_4785:Lnet/minecraft/class_1150;
      named world Lnet/minecraft/world/dimension/Dimension;world:Lnet/minecraft/world/World;
    • generatorType

      private LevelGeneratorType generatorType
      Mappings:
      Namespace Name Mixin selector
      official h Lbgd;h:Lare;
      intermediary field_4786 Lnet/minecraft/class_1208;field_4786:Lnet/minecraft/class_1160;
      named generatorType Lnet/minecraft/world/dimension/Dimension;generatorType:Lnet/minecraft/world/level/LevelGeneratorType;
    • generatorOptions

      private String generatorOptions
      Mappings:
      Namespace Name Mixin selector
      official i Lbgd;i:Ljava/lang/String;
      intermediary field_4937 Lnet/minecraft/class_1208;field_4937:Ljava/lang/String;
      named generatorOptions Lnet/minecraft/world/dimension/Dimension;generatorOptions:Ljava/lang/String;
    • biomeSource

      protected LayeredBiomeSource biomeSource
      Mappings:
      Namespace Name Mixin selector
      official c Lbgd;c:Larz;
      intermediary field_4787 Lnet/minecraft/class_1208;field_4787:Lnet/minecraft/class_1175;
      named biomeSource Lnet/minecraft/world/dimension/Dimension;biomeSource:Lnet/minecraft/world/LayeredBiomeSource;
    • waterVaporizes

      protected boolean waterVaporizes
      Mappings:
      Namespace Name Mixin selector
      official d Lbgd;d:Z
      intermediary field_4788 Lnet/minecraft/class_1208;field_4788:Z
      named waterVaporizes Lnet/minecraft/world/dimension/Dimension;waterVaporizes:Z
    • isNether

      protected boolean isNether
      Mappings:
      Namespace Name Mixin selector
      official e Lbgd;e:Z
      intermediary field_4789 Lnet/minecraft/class_1208;field_4789:Z
      named isNether Lnet/minecraft/world/dimension/Dimension;isNether:Z
    • lightLevelToBrightness

      protected final float[] lightLevelToBrightness
      Mappings:
      Namespace Name Mixin selector
      official f Lbgd;f:[F
      intermediary field_4790 Lnet/minecraft/class_1208;field_4790:[F
      named lightLevelToBrightness Lnet/minecraft/world/dimension/Dimension;lightLevelToBrightness:[F
    • dimensionType

      protected int dimensionType
      Mappings:
      Namespace Name Mixin selector
      official g Lbgd;g:I
      intermediary field_4791 Lnet/minecraft/class_1208;field_4791:I
      named dimensionType Lnet/minecraft/world/dimension/Dimension;dimensionType:I
    • backgroundColor

      private final float[] backgroundColor
      Mappings:
      Namespace Name Mixin selector
      official j Lbgd;j:[F
      intermediary field_4792 Lnet/minecraft/class_1208;field_4792:[F
      named backgroundColor Lnet/minecraft/world/dimension/Dimension;backgroundColor:[F
  • Constructor Details

    • Dimension

      public Dimension()
  • Method Details

    • copyFromWorls

      public final void copyFromWorls(World world)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgd;a(Laqu;)V
      intermediary method_3981 Lnet/minecraft/class_1208;method_3981(Lnet/minecraft/class_1150;)V
      named copyFromWorls Lnet/minecraft/world/dimension/Dimension;copyFromWorls(Lnet/minecraft/world/World;)V
    • initializeLightLevelToBrightness

      protected void initializeLightLevelToBrightness()
      Mappings:
      Namespace Name Mixin selector
      official a Lbgd;a()V
      intermediary method_3976 Lnet/minecraft/class_1208;method_3976()V
      named initializeLightLevelToBrightness Lnet/minecraft/world/dimension/Dimension;initializeLightLevelToBrightness()V
    • init

      protected void init()
      Mappings:
      Namespace Name Mixin selector
      official b Lbgd;b()V
      intermediary method_3982 Lnet/minecraft/class_1208;method_3982()V
      named init Lnet/minecraft/world/dimension/Dimension;init()V
    • createChunkGenerator

      public ChunkProvider createChunkGenerator()
      Mappings:
      Namespace Name Mixin selector
      official c Lbgd;c()Lbfe;
      intermediary method_3986 Lnet/minecraft/class_1208;method_3986()Lnet/minecraft/class_1193;
      named createChunkGenerator Lnet/minecraft/world/dimension/Dimension;createChunkGenerator()Lnet/minecraft/world/chunk/ChunkProvider;
    • isSpawnableBlock

      public boolean isSpawnableBlock(int x, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgd;a(II)Z
      intermediary method_3979 Lnet/minecraft/class_1208;method_3979(II)Z
      named isSpawnableBlock Lnet/minecraft/world/dimension/Dimension;isSpawnableBlock(II)Z
    • getSkyAngle

      public float getSkyAngle(long timeOfDay, float tickDelta)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgd;a(JF)F
      intermediary method_3980 Lnet/minecraft/class_1208;method_3980(JF)F
      named getSkyAngle Lnet/minecraft/world/dimension/Dimension;getSkyAngle(JF)F
    • getMoonPhase

      public int getMoonPhase(long time)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgd;a(J)I
      intermediary method_3985 Lnet/minecraft/class_1208;method_3985(J)I
      named getMoonPhase Lnet/minecraft/world/dimension/Dimension;getMoonPhase(J)I
    • canPlayersSleep

      public boolean canPlayersSleep()
      Mappings:
      Namespace Name Mixin selector
      official d Lbgd;d()Z
      intermediary method_3987 Lnet/minecraft/class_1208;method_3987()Z
      named canPlayersSleep Lnet/minecraft/world/dimension/Dimension;canPlayersSleep()Z
    • getBackgroundColor

      @Environment(CLIENT) public float[] getBackgroundColor(float skyAngle, float tickDelta)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgd;a(FF)[F
      intermediary method_3977 Lnet/minecraft/class_1208;method_3977(FF)[F
      named getBackgroundColor Lnet/minecraft/world/dimension/Dimension;getBackgroundColor(FF)[F
    • getFogColor

      @Environment(CLIENT) public Vec3d getFogColor(float skyAngle, float tickDelta)
      Mappings:
      Namespace Name Mixin selector
      official b Lbgd;b(FF)Lbrw;
      intermediary method_6541 Lnet/minecraft/class_1208;method_6541(FF)Lnet/minecraft/class_236;
      named getFogColor Lnet/minecraft/world/dimension/Dimension;getFogColor(FF)Lnet/minecraft/util/math/Vec3d;
    • containsWorldSpawn

      public boolean containsWorldSpawn()
      Mappings:
      Namespace Name Mixin selector
      official e Lbgd;e()Z
      intermediary method_3988 Lnet/minecraft/class_1208;method_3988()Z
      named containsWorldSpawn Lnet/minecraft/world/dimension/Dimension;containsWorldSpawn()Z
    • getById

      public static Dimension getById(int id)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgd;a(I)Lbgd;
      intermediary method_3978 Lnet/minecraft/class_1208;method_3978(I)Lnet/minecraft/class_1208;
      named getById Lnet/minecraft/world/dimension/Dimension;getById(I)Lnet/minecraft/world/dimension/Dimension;
    • getCloudHeight

      @Environment(CLIENT) public float getCloudHeight()
      Mappings:
      Namespace Name Mixin selector
      official f Lbgd;f()F
      intermediary method_3989 Lnet/minecraft/class_1208;method_3989()F
      named getCloudHeight Lnet/minecraft/world/dimension/Dimension;getCloudHeight()F
    • hasGround

      @Environment(CLIENT) public boolean hasGround()
      Mappings:
      Namespace Name Mixin selector
      official g Lbgd;g()Z
      intermediary method_3990 Lnet/minecraft/class_1208;method_3990()Z
      named hasGround Lnet/minecraft/world/dimension/Dimension;hasGround()Z
    • getForcedSpawnPoint

      public BlockPos getForcedSpawnPoint()
      Mappings:
      Namespace Name Mixin selector
      official h Lbgd;h()Ldt;
      intermediary method_3991 Lnet/minecraft/class_1208;method_3991()Lnet/minecraft/class_2552;
      named getForcedSpawnPoint Lnet/minecraft/world/dimension/Dimension;getForcedSpawnPoint()Lnet/minecraft/util/math/BlockPos;
    • getAverageYLevel

      public int getAverageYLevel()
      Mappings:
      Namespace Name Mixin selector
      official i Lbgd;i()I
      intermediary method_3992 Lnet/minecraft/class_1208;method_3992()I
      named getAverageYLevel Lnet/minecraft/world/dimension/Dimension;getAverageYLevel()I
    • method_3994

      @Environment(CLIENT) public double method_3994()
      Mappings:
      Namespace Name Mixin selector
      official j Lbgd;j()D
      intermediary method_3994 Lnet/minecraft/class_1208;method_3994()D
      named method_3994 Lnet/minecraft/world/dimension/Dimension;method_3994()D
    • isFogThick

      @Environment(CLIENT) public boolean isFogThick(int x, int z)
      Mappings:
      Namespace Name Mixin selector
      official b Lbgd;b(II)Z
      intermediary method_3984 Lnet/minecraft/class_1208;method_3984(II)Z
      named isFogThick Lnet/minecraft/world/dimension/Dimension;isFogThick(II)Z
    • getName

      public abstract String getName()
      Mappings:
      Namespace Name Mixin selector
      official k Lbgd;k()Ljava/lang/String;
      intermediary method_3995 Lnet/minecraft/class_1208;method_3995()Ljava/lang/String;
      named getName Lnet/minecraft/world/dimension/Dimension;getName()Ljava/lang/String;
    • getPersistentStateSuffix

      public abstract String getPersistentStateSuffix()
      Mappings:
      Namespace Name Mixin selector
      official l Lbgd;l()Ljava/lang/String;
      intermediary method_9174 Lnet/minecraft/class_1208;method_9174()Ljava/lang/String;
      named getPersistentStateSuffix Lnet/minecraft/world/dimension/Dimension;getPersistentStateSuffix()Ljava/lang/String;
    • getBiomeSource

      public LayeredBiomeSource getBiomeSource()
      Mappings:
      Namespace Name Mixin selector
      official m Lbgd;m()Larz;
      intermediary method_9175 Lnet/minecraft/class_1208;method_9175()Lnet/minecraft/class_1175;
      named getBiomeSource Lnet/minecraft/world/dimension/Dimension;getBiomeSource()Lnet/minecraft/world/LayeredBiomeSource;
    • doesWaterVaporize

      public boolean doesWaterVaporize()
      Mappings:
      Namespace Name Mixin selector
      official n Lbgd;n()Z
      intermediary method_9176 Lnet/minecraft/class_1208;method_9176()Z
      named doesWaterVaporize Lnet/minecraft/world/dimension/Dimension;doesWaterVaporize()Z
    • isNether

      public boolean isNether()
      Mappings:
      Namespace Name Mixin selector
      official o Lbgd;o()Z
      intermediary method_9177 Lnet/minecraft/class_1208;method_9177()Z
      named isNether Lnet/minecraft/world/dimension/Dimension;isNether()Z
    • getLightLevelToBrightness

      public float[] getLightLevelToBrightness()
      Mappings:
      Namespace Name Mixin selector
      official p Lbgd;p()[F
      intermediary method_9178 Lnet/minecraft/class_1208;method_9178()[F
      named getLightLevelToBrightness Lnet/minecraft/world/dimension/Dimension;getLightLevelToBrightness()[F
    • getType

      public int getType()
      Mappings:
      Namespace Name Mixin selector
      official q Lbgd;q()I
      intermediary method_9179 Lnet/minecraft/class_1208;method_9179()I
      named getType Lnet/minecraft/world/dimension/Dimension;getType()I
    • createWorldBorder

      public WorldBorder createWorldBorder()
      Mappings:
      Namespace Name Mixin selector
      official r Lbgd;r()Lbfb;
      intermediary method_9180 Lnet/minecraft/class_1208;method_9180()Lnet/minecraft/class_2250;
      named createWorldBorder Lnet/minecraft/world/dimension/Dimension;createWorldBorder()Lnet/minecraft/world/border/WorldBorder;