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 aoz
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 Laoz;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

      public World world
      Mappings:
      Namespace Name Mixin selector
      official b Laoz;b:Lafm;
      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

      public LevelGeneratorType generatorType
      Mappings:
      Namespace Name Mixin selector
      official c Laoz;c:Lafx;
      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

      public String generatorOptions
      Mappings:
      Namespace Name Mixin selector
      official d Laoz;d: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

      public LayeredBiomeSource biomeSource
      Mappings:
      Namespace Name Mixin selector
      official e Laoz;e:Lagm;
      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

      public boolean waterVaporizes
      Mappings:
      Namespace Name Mixin selector
      official f Laoz;f:Z
      intermediary field_4788 Lnet/minecraft/class_1208;field_4788:Z
      named waterVaporizes Lnet/minecraft/world/dimension/Dimension;waterVaporizes:Z
    • isNether

      public boolean isNether
      Mappings:
      Namespace Name Mixin selector
      official g Laoz;g:Z
      intermediary field_4789 Lnet/minecraft/class_1208;field_4789:Z
      named isNether Lnet/minecraft/world/dimension/Dimension;isNether:Z
    • lightLevelToBrightness

      public float[] lightLevelToBrightness
      Mappings:
      Namespace Name Mixin selector
      official h Laoz;h:[F
      intermediary field_4790 Lnet/minecraft/class_1208;field_4790:[F
      named lightLevelToBrightness Lnet/minecraft/world/dimension/Dimension;lightLevelToBrightness:[F
    • dimensionType

      public int dimensionType
      Mappings:
      Namespace Name Mixin selector
      official i Laoz;i:I
      intermediary field_4791 Lnet/minecraft/class_1208;field_4791:I
      named dimensionType Lnet/minecraft/world/dimension/Dimension;dimensionType:I
    • backgroundColor

      private float[] backgroundColor
      Mappings:
      Namespace Name Mixin selector
      official j Laoz;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 Laoz;a(Lafm;)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 Laoz;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 Laoz;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 Laoz;c()Laof;
      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 Laoz;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 Laoz;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 Laoz;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 Laoz;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 Laoz;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 Laoz;b(FF)Layj;
      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 Laoz;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 Laoz;a(I)Laoz;
      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 Laoz;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 Laoz;g()Z
      intermediary method_3990 Lnet/minecraft/class_1208;method_3990()Z
      named hasGround Lnet/minecraft/world/dimension/Dimension;hasGround()Z
    • getWorldSpawn

      public BlockPos getWorldSpawn()
      Mappings:
      Namespace Name Mixin selector
      official h Laoz;h()Lr;
      intermediary method_3991 Lnet/minecraft/class_1208;method_3991()Lnet/minecraft/class_851;
      named getWorldSpawn Lnet/minecraft/world/dimension/Dimension;getWorldSpawn()Lnet/minecraft/util/math/BlockPos;
    • getAverageYLevel

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

      @Environment(CLIENT) public boolean method_3993()
      Mappings:
      Namespace Name Mixin selector
      official j Laoz;j()Z
      intermediary method_3993 Lnet/minecraft/class_1208;method_3993()Z
      named method_3993 Lnet/minecraft/world/dimension/Dimension;method_3993()Z
    • method_3994

      @Environment(CLIENT) public double method_3994()
      Mappings:
      Namespace Name Mixin selector
      official k Laoz;k()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 Laoz;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 l Laoz;l()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;