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 asv
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 Lasv;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 Lasv;b:Laht;
      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 g Lasv;g:Lahy;
      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 h Lasv;h: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;
    • field_4787

      protected SingletonBiomeSource field_4787
      Mappings:
      Namespace Name Mixin selector
      official c Lasv;c:Laik;
      intermediary field_4787 Lnet/minecraft/class_1208;field_4787:Lnet/minecraft/class_1178;
      named field_4787 Lnet/minecraft/world/dimension/Dimension;field_4787:Lnet/minecraft/world/biome/SingletonBiomeSource;
    • waterVaporizes

      protected boolean waterVaporizes
      Mappings:
      Namespace Name Mixin selector
      official d Lasv;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 Lasv;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 Lasv;f:[F
      intermediary field_4790 Lnet/minecraft/class_1208;field_4790:[F
      named lightLevelToBrightness Lnet/minecraft/world/dimension/Dimension;lightLevelToBrightness:[F
    • backgroundColor

      private final float[] backgroundColor
      Mappings:
      Namespace Name Mixin selector
      official i Lasv;i:[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 Lasv;a(Laht;)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 Lasv;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 Lasv;b()V
      intermediary method_3982 Lnet/minecraft/class_1208;method_3982()V
      named init Lnet/minecraft/world/dimension/Dimension;init()V
    • method_3986

      public ChunkGenerator method_3986()
      Mappings:
      Namespace Name Mixin selector
      official c Lasv;c()Larz;
      intermediary method_3986 Lnet/minecraft/class_1208;method_3986()Lnet/minecraft/class_2744;
      named method_3986 Lnet/minecraft/world/dimension/Dimension;method_3986()Lnet/minecraft/server/world/ChunkGenerator;
    • isSpawnableBlock

      public boolean isSpawnableBlock(int x, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Lasv;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 Lasv;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 Lasv;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 Lasv;d()Z
      intermediary method_3987 Lnet/minecraft/class_1208;method_3987()Z
      named canPlayersSleep Lnet/minecraft/world/dimension/Dimension;canPlayersSleep()Z
    • getBackgroundColor

      @Environment(CLIENT) @Nullable public float[] getBackgroundColor(float skyAngle, float tickDelta)
      Mappings:
      Namespace Name Mixin selector
      official a Lasv;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 Lasv;b(FF)Lbbh;
      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 Lasv;e()Z
      intermediary method_3988 Lnet/minecraft/class_1208;method_3988()Z
      named containsWorldSpawn Lnet/minecraft/world/dimension/Dimension;containsWorldSpawn()Z
    • getCloudHeight

      @Environment(CLIENT) public float getCloudHeight()
      Mappings:
      Namespace Name Mixin selector
      official f Lasv;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 Lasv;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 Lasv;h()Lcl;
      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 Lasv;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 Lasv;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 Lasv;b(II)Z
      intermediary method_3984 Lnet/minecraft/class_1208;method_3984(II)Z
      named isFogThick Lnet/minecraft/world/dimension/Dimension;isFogThick(II)Z
    • method_9175

      public SingletonBiomeSource method_9175()
      Mappings:
      Namespace Name Mixin selector
      official k Lasv;k()Laik;
      intermediary method_9175 Lnet/minecraft/class_1208;method_9175()Lnet/minecraft/class_1178;
      named method_9175 Lnet/minecraft/world/dimension/Dimension;method_9175()Lnet/minecraft/world/biome/SingletonBiomeSource;
    • doesWaterVaporize

      public boolean doesWaterVaporize()
      Mappings:
      Namespace Name Mixin selector
      official l Lasv;l()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 m Lasv;m()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 n Lasv;n()[F
      intermediary method_9178 Lnet/minecraft/class_1208;method_9178()[F
      named getLightLevelToBrightness Lnet/minecraft/world/dimension/Dimension;getLightLevelToBrightness()[F
    • createWorldBorder

      public WorldBorder createWorldBorder()
      Mappings:
      Namespace Name Mixin selector
      official o Lasv;o()Larw;
      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;
    • method_11786

      public void method_11786(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official a Lasv;a(Lls;)V
      intermediary method_11786 Lnet/minecraft/class_1208;method_11786(Lnet/minecraft/class_798;)V
      named method_11786 Lnet/minecraft/world/dimension/Dimension;method_11786(Lnet/minecraft/entity/player/ServerPlayerEntity;)V
    • method_11787

      public void method_11787(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official b Lasv;b(Lls;)V
      intermediary method_11787 Lnet/minecraft/class_1208;method_11787(Lnet/minecraft/class_798;)V
      named method_11787 Lnet/minecraft/world/dimension/Dimension;method_11787(Lnet/minecraft/entity/player/ServerPlayerEntity;)V
    • getDimensionType

      public abstract DimensionType getDimensionType()
      Mappings:
      Namespace Name Mixin selector
      official p Lasv;p()Lasw;
      intermediary method_11789 Lnet/minecraft/class_1208;method_11789()Lnet/minecraft/class_2750;
      named getDimensionType Lnet/minecraft/world/dimension/Dimension;getDimensionType()Lnet/minecraft/world/dimension/DimensionType;
    • method_11790

      public void method_11790()
      Mappings:
      Namespace Name Mixin selector
      official q Lasv;q()V
      intermediary method_11790 Lnet/minecraft/class_1208;method_11790()V
      named method_11790 Lnet/minecraft/world/dimension/Dimension;method_11790()V
    • method_11791

      public void method_11791()
      Mappings:
      Namespace Name Mixin selector
      official r Lasv;r()V
      intermediary method_11791 Lnet/minecraft/class_1208;method_11791()V
      named method_11791 Lnet/minecraft/world/dimension/Dimension;method_11791()V
    • method_11788

      public boolean method_11788(int x, int z)
      Mappings:
      Namespace Name Mixin selector
      official c Lasv;c(II)Z
      intermediary method_11788 Lnet/minecraft/class_1208;method_11788(II)Z
      named method_11788 Lnet/minecraft/world/dimension/Dimension;method_11788(II)Z