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 fyz$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 Lfyz$a;a:Z
    • gameRules

      private final GameRules gameRules
      Mappings:
      Namespace Name Mixin selector
      named gameRules Lnet/minecraft/client/world/ClientWorld$Properties;gameRules:Lnet/minecraft/world/GameRules;
      intermediary field_24434 Lnet/minecraft/class_638$class_5271;field_24434:Lnet/minecraft/class_1928;
      official b Lfyz$a;b:Ldcq;
    • 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 c Lfyz$a;c:Z
    • spawnPos

      private BlockPos spawnPos
      Mappings:
      Namespace Name Mixin selector
      named spawnPos Lnet/minecraft/client/world/ClientWorld$Properties;spawnPos:Lnet/minecraft/util/math/BlockPos;
      intermediary field_48402 Lnet/minecraft/class_638$class_5271;field_48402:Lnet/minecraft/class_2338;
      official d Lfyz$a;d:Ljd;
    • spawnAngle

      private float spawnAngle
      Mappings:
      Namespace Name Mixin selector
      named spawnAngle Lnet/minecraft/client/world/ClientWorld$Properties;spawnAngle:F
      intermediary field_26372 Lnet/minecraft/class_638$class_5271;field_26372:F
      official e Lfyz$a;e:F
    • 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 f Lfyz$a;f: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 g Lfyz$a;g: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 h Lfyz$a;h: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 i Lfyz$a;i:Lbqn;
    • 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 j Lfyz$a;j: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> Lfyz$a;<init>(Lbqn;ZZ)V
  • Method Details

    • getSpawnPos

      public BlockPos getSpawnPos()
      Specified by:
      getSpawnPos in interface WorldProperties
      Mappings:
      Namespace Name Mixin selector
      named getSpawnPos Lnet/minecraft/world/WorldProperties;getSpawnPos()Lnet/minecraft/util/math/BlockPos;
      intermediary method_56126 Lnet/minecraft/class_5217;method_56126()Lnet/minecraft/class_2338;
      official a Leqv;a()Ljd;
    • getSpawnAngle

      public float getSpawnAngle()
      Specified by:
      getSpawnAngle in interface WorldProperties
      Mappings:
      Namespace Name Mixin selector
      named getSpawnAngle Lnet/minecraft/world/WorldProperties;getSpawnAngle()F
      intermediary method_30656 Lnet/minecraft/class_5217;method_30656()F
      official b Leqv;b()F
    • 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 c Leqv;c()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 d Leqv;d()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 Lfyz$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 Lfyz$a;b(J)V
    • setSpawnPos

      public void setSpawnPos(BlockPos pos, float angle)
      Specified by:
      setSpawnPos in interface MutableWorldProperties
      Mappings:
      Namespace Name Mixin selector
      named setSpawnPos Lnet/minecraft/world/MutableWorldProperties;setSpawnPos(Lnet/minecraft/util/math/BlockPos;F)V
      intermediary method_187 Lnet/minecraft/class_5269;method_187(Lnet/minecraft/class_2338;F)V
      official a Lerg;a(Ljd;F)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 g Leqv;g()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 i Leqv;i()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 Leqv;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 l Leqv;l()Z
    • getGameRules

      public GameRules getGameRules()
      Specified by:
      getGameRules in interface WorldProperties
      Mappings:
      Namespace Name Mixin selector
      named getGameRules Lnet/minecraft/world/WorldProperties;getGameRules()Lnet/minecraft/world/GameRules;
      intermediary method_146 Lnet/minecraft/class_5217;method_146()Lnet/minecraft/class_1928;
      official o Leqv;o()Ldcq;
    • 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 q Leqv;q()Lbqn;
    • 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 r Leqv;r()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 Leqv;a(Lp;Ldcw;)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 Lfyz$a;a(Lbqn;)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 Lfyz$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 Lfyz$a;a(Ldcw;)D
    • getHorizonShadingRatio

      public float getHorizonShadingRatio()
      Mappings:
      Namespace Name Mixin selector
      named getHorizonShadingRatio Lnet/minecraft/client/world/ClientWorld$Properties;getHorizonShadingRatio()F
      intermediary method_28106 Lnet/minecraft/class_638$class_5271;method_28106()F
      official e Lfyz$a;e()F