Class ClientWorld.Properties

java.lang.Object
net.minecraft.client.world.ClientWorld.Properties
All Implemented Interfaces:
MutableWorldProperties, WorldProperties
Enclosing class:
ClientWorld

@Environment(CLIENT) public static class ClientWorld.Properties extends Object implements MutableWorldProperties
Mappings:
Namespace Name
named net/minecraft/client/world/ClientWorld$Properties
intermediary net/minecraft/class_638$class_5271
official gzn$a
  • Field Details

    • hardcore

      private final boolean hardcore
      Mappings:
      Namespace Name Mixin selector
      named hardcore Lnet/minecraft/client/world/ClientWorld$Properties;hardcore:Z
      intermediary field_24433 Lnet/minecraft/class_638$class_5271;field_24433:Z
      official a Lgzn$a;a:Z
    • flatWorld

      private final boolean flatWorld
      Mappings:
      Namespace Name Mixin selector
      named flatWorld Lnet/minecraft/client/world/ClientWorld$Properties;flatWorld:Z
      intermediary field_24607 Lnet/minecraft/class_638$class_5271;field_24607:Z
      official b Lgzn$a;b:Z
    • position

      private WorldProperties.SpawnPoint position
      Mappings:
      Namespace Name Mixin selector
      named position Lnet/minecraft/client/world/ClientWorld$Properties;position:Lnet/minecraft/world/WorldProperties$SpawnPoint;
      intermediary field_63066 Lnet/minecraft/class_638$class_5271;field_63066:Lnet/minecraft/class_5217$class_12064;
      official c Lgzn$a;c:Lfid$a;
    • time

      private long time
      Mappings:
      Namespace Name Mixin selector
      named time Lnet/minecraft/client/world/ClientWorld$Properties;time:J
      intermediary field_24438 Lnet/minecraft/class_638$class_5271;field_24438:J
      official d Lgzn$a;d:J
    • timeOfDay

      private long timeOfDay
      Mappings:
      Namespace Name Mixin selector
      named timeOfDay Lnet/minecraft/client/world/ClientWorld$Properties;timeOfDay:J
      intermediary field_24439 Lnet/minecraft/class_638$class_5271;field_24439:J
      official e Lgzn$a;e:J
    • raining

      private boolean raining
      Mappings:
      Namespace Name Mixin selector
      named raining Lnet/minecraft/client/world/ClientWorld$Properties;raining:Z
      intermediary field_24440 Lnet/minecraft/class_638$class_5271;field_24440:Z
      official f Lgzn$a;f:Z
    • difficulty

      private Difficulty difficulty
      Mappings:
      Namespace Name Mixin selector
      named difficulty Lnet/minecraft/client/world/ClientWorld$Properties;difficulty:Lnet/minecraft/world/Difficulty;
      intermediary field_24441 Lnet/minecraft/class_638$class_5271;field_24441:Lnet/minecraft/class_1267;
      official g Lgzn$a;g:Lcbn;
    • difficultyLocked

      private boolean difficultyLocked
      Mappings:
      Namespace Name Mixin selector
      named difficultyLocked Lnet/minecraft/client/world/ClientWorld$Properties;difficultyLocked:Z
      intermediary field_24442 Lnet/minecraft/class_638$class_5271;field_24442:Z
      official h Lgzn$a;h:Z
  • Constructor Details

    • Properties

      public Properties(Difficulty difficulty, boolean hardcore, boolean flatWorld)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/world/ClientWorld$Properties;<init>(Lnet/minecraft/world/Difficulty;ZZ)V
      intermediary <init> Lnet/minecraft/class_638$class_5271;<init>(Lnet/minecraft/class_1267;ZZ)V
      official <init> Lgzn$a;<init>(Lcbn;ZZ)V
  • Method Details

    • getSpawnPoint

      public WorldProperties.SpawnPoint getSpawnPoint()
      Specified by:
      getSpawnPoint in interface WorldProperties
      Mappings:
      Namespace Name Mixin selector
      named getSpawnPoint Lnet/minecraft/world/WorldProperties;getSpawnPoint()Lnet/minecraft/world/WorldProperties$SpawnPoint;
      intermediary method_74893 Lnet/minecraft/class_5217;method_74893()Lnet/minecraft/class_5217$class_12064;
      official a Lfid;a()Lfid$a;
    • getTime

      public long getTime()
      Specified by:
      getTime in interface WorldProperties
      Mappings:
      Namespace Name Mixin selector
      named getTime Lnet/minecraft/world/WorldProperties;getTime()J
      intermediary method_188 Lnet/minecraft/class_5217;method_188()J
      official b Lfid;b()J
    • getTimeOfDay

      public long getTimeOfDay()
      Specified by:
      getTimeOfDay in interface WorldProperties
      Mappings:
      Namespace Name Mixin selector
      named getTimeOfDay Lnet/minecraft/world/WorldProperties;getTimeOfDay()J
      intermediary method_217 Lnet/minecraft/class_5217;method_217()J
      official c Lfid;c()J
    • setTime

      public void setTime(long time)
      Mappings:
      Namespace Name Mixin selector
      named setTime Lnet/minecraft/client/world/ClientWorld$Properties;setTime(J)V
      intermediary method_177 Lnet/minecraft/class_638$class_5271;method_177(J)V
      official a Lgzn$a;a(J)V
    • setTimeOfDay

      public void setTimeOfDay(long timeOfDay)
      Mappings:
      Namespace Name Mixin selector
      named setTimeOfDay Lnet/minecraft/client/world/ClientWorld$Properties;setTimeOfDay(J)V
      intermediary method_165 Lnet/minecraft/class_638$class_5271;method_165(J)V
      official b Lgzn$a;b(J)V
    • setSpawnPoint

      public void setSpawnPoint(WorldProperties.SpawnPoint spawnPoint)
      Specified by:
      setSpawnPoint in interface MutableWorldProperties
      Mappings:
      Namespace Name Mixin selector
      named setSpawnPoint Lnet/minecraft/world/MutableWorldProperties;setSpawnPoint(Lnet/minecraft/world/WorldProperties$SpawnPoint;)V
      intermediary method_187 Lnet/minecraft/class_5269;method_187(Lnet/minecraft/class_5217$class_12064;)V
      official a Lfit;a(Lfid$a;)V
    • isThundering

      public boolean isThundering()
      Specified by:
      isThundering in interface WorldProperties
      Mappings:
      Namespace Name Mixin selector
      named isThundering Lnet/minecraft/world/WorldProperties;isThundering()Z
      intermediary method_203 Lnet/minecraft/class_5217;method_203()Z
      official f Lfid;f()Z
    • isRaining

      public boolean isRaining()
      Specified by:
      isRaining in interface WorldProperties
      Mappings:
      Namespace Name Mixin selector
      named isRaining Lnet/minecraft/world/WorldProperties;isRaining()Z
      intermediary method_156 Lnet/minecraft/class_5217;method_156()Z
      official h Lfid;h()Z
    • setRaining

      public void setRaining(boolean raining)
      Specified by:
      setRaining in interface WorldProperties
      Mappings:
      Namespace Name Mixin selector
      named setRaining Lnet/minecraft/world/WorldProperties;setRaining(Z)V
      intermediary method_157 Lnet/minecraft/class_5217;method_157(Z)V
      official b Lfid;b(Z)V
    • isHardcore

      public boolean isHardcore()
      Specified by:
      isHardcore in interface WorldProperties
      Mappings:
      Namespace Name Mixin selector
      named isHardcore Lnet/minecraft/world/WorldProperties;isHardcore()Z
      intermediary method_152 Lnet/minecraft/class_5217;method_152()Z
      official k Lfid;k()Z
    • getDifficulty

      public Difficulty getDifficulty()
      Specified by:
      getDifficulty in interface WorldProperties
      Mappings:
      Namespace Name Mixin selector
      named getDifficulty Lnet/minecraft/world/WorldProperties;getDifficulty()Lnet/minecraft/world/Difficulty;
      intermediary method_207 Lnet/minecraft/class_5217;method_207()Lnet/minecraft/class_1267;
      official p Lfid;p()Lcbn;
    • isDifficultyLocked

      public boolean isDifficultyLocked()
      Specified by:
      isDifficultyLocked in interface WorldProperties
      Mappings:
      Namespace Name Mixin selector
      named isDifficultyLocked Lnet/minecraft/world/WorldProperties;isDifficultyLocked()Z
      intermediary method_197 Lnet/minecraft/class_5217;method_197()Z
      official q Lfid;q()Z
    • populateCrashReport

      public void populateCrashReport(CrashReportSection reportSection, HeightLimitView world)
      Specified by:
      populateCrashReport in interface WorldProperties
      Mappings:
      Namespace Name Mixin selector
      named populateCrashReport Lnet/minecraft/world/WorldProperties;populateCrashReport(Lnet/minecraft/util/crash/CrashReportSection;Lnet/minecraft/world/HeightLimitView;)V
      intermediary method_151 Lnet/minecraft/class_5217;method_151(Lnet/minecraft/class_129;Lnet/minecraft/class_5539;)V
      official a Lfid;a(Lq;Ldrs;)V
    • setDifficulty

      public void setDifficulty(Difficulty difficulty)
      Mappings:
      Namespace Name Mixin selector
      named setDifficulty Lnet/minecraft/client/world/ClientWorld$Properties;setDifficulty(Lnet/minecraft/world/Difficulty;)V
      intermediary method_27875 Lnet/minecraft/class_638$class_5271;method_27875(Lnet/minecraft/class_1267;)V
      official a Lgzn$a;a(Lcbn;)V
    • setDifficultyLocked

      public void setDifficultyLocked(boolean difficultyLocked)
      Mappings:
      Namespace Name Mixin selector
      named setDifficultyLocked Lnet/minecraft/client/world/ClientWorld$Properties;setDifficultyLocked(Z)V
      intermediary method_27876 Lnet/minecraft/class_638$class_5271;method_27876(Z)V
      official a Lgzn$a;a(Z)V
    • getSkyDarknessHeight

      public double getSkyDarknessHeight(HeightLimitView world)
      Mappings:
      Namespace Name Mixin selector
      named getSkyDarknessHeight Lnet/minecraft/client/world/ClientWorld$Properties;getSkyDarknessHeight(Lnet/minecraft/world/HeightLimitView;)D
      intermediary method_28105 Lnet/minecraft/class_638$class_5271;method_28105(Lnet/minecraft/class_5539;)D
      official a Lgzn$a;a(Ldrs;)D
    • getVoidDarknessRange

      public float getVoidDarknessRange()
      Mappings:
      Namespace Name Mixin selector
      named getVoidDarknessRange Lnet/minecraft/client/world/ClientWorld$Properties;getVoidDarknessRange()F
      intermediary method_71646 Lnet/minecraft/class_638$class_5271;method_71646()F
      official d Lgzn$a;d()F