Package net.minecraft.client.world
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$Propertiesintermediary net/minecraft/class_638$class_5271official gzn$a
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.world.WorldProperties
WorldProperties.SpawnPoint -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Difficultyprivate booleanprivate final booleanprivate final booleanprivate WorldProperties.SpawnPointprivate booleanprivate longprivate long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublelonggetTime()longfloatbooleanbooleanbooleanbooleanvoidpopulateCrashReport(CrashReportSection reportSection, HeightLimitView world) voidsetDifficulty(Difficulty difficulty) voidsetDifficultyLocked(boolean difficultyLocked) voidsetRaining(boolean raining) voidsetSpawnPoint(WorldProperties.SpawnPoint spawnPoint) voidsetTime(long time) voidsetTimeOfDay(long timeOfDay)
-
Field Details
-
hardcore
private final boolean hardcore- Mappings:
Namespace Name Mixin selector named hardcoreLnet/minecraft/client/world/ClientWorld$Properties;hardcore:Zintermediary field_24433Lnet/minecraft/class_638$class_5271;field_24433:Zofficial aLgzn$a;a:Z
-
flatWorld
private final boolean flatWorld- Mappings:
Namespace Name Mixin selector named flatWorldLnet/minecraft/client/world/ClientWorld$Properties;flatWorld:Zintermediary field_24607Lnet/minecraft/class_638$class_5271;field_24607:Zofficial bLgzn$a;b:Z
-
position
- Mappings:
Namespace Name Mixin selector named positionLnet/minecraft/client/world/ClientWorld$Properties;position:Lnet/minecraft/world/WorldProperties$SpawnPoint;intermediary field_63066Lnet/minecraft/class_638$class_5271;field_63066:Lnet/minecraft/class_5217$class_12064;official cLgzn$a;c:Lfid$a;
-
time
private long time- Mappings:
Namespace Name Mixin selector named timeLnet/minecraft/client/world/ClientWorld$Properties;time:Jintermediary field_24438Lnet/minecraft/class_638$class_5271;field_24438:Jofficial dLgzn$a;d:J
-
timeOfDay
private long timeOfDay- Mappings:
Namespace Name Mixin selector named timeOfDayLnet/minecraft/client/world/ClientWorld$Properties;timeOfDay:Jintermediary field_24439Lnet/minecraft/class_638$class_5271;field_24439:Jofficial eLgzn$a;e:J
-
raining
private boolean raining- Mappings:
Namespace Name Mixin selector named rainingLnet/minecraft/client/world/ClientWorld$Properties;raining:Zintermediary field_24440Lnet/minecraft/class_638$class_5271;field_24440:Zofficial fLgzn$a;f:Z
-
difficulty
- Mappings:
Namespace Name Mixin selector named difficultyLnet/minecraft/client/world/ClientWorld$Properties;difficulty:Lnet/minecraft/world/Difficulty;intermediary field_24441Lnet/minecraft/class_638$class_5271;field_24441:Lnet/minecraft/class_1267;official gLgzn$a;g:Lcbn;
-
difficultyLocked
private boolean difficultyLocked- Mappings:
Namespace Name Mixin selector named difficultyLockedLnet/minecraft/client/world/ClientWorld$Properties;difficultyLocked:Zintermediary field_24442Lnet/minecraft/class_638$class_5271;field_24442:Zofficial hLgzn$a;h:Z
-
-
Constructor Details
-
Properties
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/world/ClientWorld$Properties;<init>(Lnet/minecraft/world/Difficulty;ZZ)Vintermediary <init>Lnet/minecraft/class_638$class_5271;<init>(Lnet/minecraft/class_1267;ZZ)Vofficial <init>Lgzn$a;<init>(Lcbn;ZZ)V
-
-
Method Details
-
getSpawnPoint
- Specified by:
getSpawnPointin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector named getSpawnPointLnet/minecraft/world/WorldProperties;getSpawnPoint()Lnet/minecraft/world/WorldProperties$SpawnPoint;intermediary method_74893Lnet/minecraft/class_5217;method_74893()Lnet/minecraft/class_5217$class_12064;official aLfid;a()Lfid$a;
-
getTime
public long getTime()- Specified by:
getTimein interfaceWorldProperties- Mappings:
Namespace Name Mixin selector named getTimeLnet/minecraft/world/WorldProperties;getTime()Jintermediary method_188Lnet/minecraft/class_5217;method_188()Jofficial bLfid;b()J
-
getTimeOfDay
public long getTimeOfDay()- Specified by:
getTimeOfDayin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector named getTimeOfDayLnet/minecraft/world/WorldProperties;getTimeOfDay()Jintermediary method_217Lnet/minecraft/class_5217;method_217()Jofficial cLfid;c()J
-
setTime
public void setTime(long time) - Mappings:
Namespace Name Mixin selector named setTimeLnet/minecraft/client/world/ClientWorld$Properties;setTime(J)Vintermediary method_177Lnet/minecraft/class_638$class_5271;method_177(J)Vofficial aLgzn$a;a(J)V
-
setTimeOfDay
public void setTimeOfDay(long timeOfDay) - Mappings:
Namespace Name Mixin selector named setTimeOfDayLnet/minecraft/client/world/ClientWorld$Properties;setTimeOfDay(J)Vintermediary method_165Lnet/minecraft/class_638$class_5271;method_165(J)Vofficial bLgzn$a;b(J)V
-
setSpawnPoint
- Specified by:
setSpawnPointin interfaceMutableWorldProperties- Mappings:
Namespace Name Mixin selector named setSpawnPointLnet/minecraft/world/MutableWorldProperties;setSpawnPoint(Lnet/minecraft/world/WorldProperties$SpawnPoint;)Vintermediary method_187Lnet/minecraft/class_5269;method_187(Lnet/minecraft/class_5217$class_12064;)Vofficial aLfit;a(Lfid$a;)V
-
isThundering
public boolean isThundering()- Specified by:
isThunderingin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector named isThunderingLnet/minecraft/world/WorldProperties;isThundering()Zintermediary method_203Lnet/minecraft/class_5217;method_203()Zofficial fLfid;f()Z
-
isRaining
public boolean isRaining()- Specified by:
isRainingin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector named isRainingLnet/minecraft/world/WorldProperties;isRaining()Zintermediary method_156Lnet/minecraft/class_5217;method_156()Zofficial hLfid;h()Z
-
setRaining
public void setRaining(boolean raining) - Specified by:
setRainingin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector named setRainingLnet/minecraft/world/WorldProperties;setRaining(Z)Vintermediary method_157Lnet/minecraft/class_5217;method_157(Z)Vofficial bLfid;b(Z)V
-
isHardcore
public boolean isHardcore()- Specified by:
isHardcorein interfaceWorldProperties- Mappings:
Namespace Name Mixin selector named isHardcoreLnet/minecraft/world/WorldProperties;isHardcore()Zintermediary method_152Lnet/minecraft/class_5217;method_152()Zofficial kLfid;k()Z
-
getDifficulty
- Specified by:
getDifficultyin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector named getDifficultyLnet/minecraft/world/WorldProperties;getDifficulty()Lnet/minecraft/world/Difficulty;intermediary method_207Lnet/minecraft/class_5217;method_207()Lnet/minecraft/class_1267;official pLfid;p()Lcbn;
-
isDifficultyLocked
public boolean isDifficultyLocked()- Specified by:
isDifficultyLockedin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector named isDifficultyLockedLnet/minecraft/world/WorldProperties;isDifficultyLocked()Zintermediary method_197Lnet/minecraft/class_5217;method_197()Zofficial qLfid;q()Z
-
populateCrashReport
- Specified by:
populateCrashReportin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector named populateCrashReportLnet/minecraft/world/WorldProperties;populateCrashReport(Lnet/minecraft/util/crash/CrashReportSection;Lnet/minecraft/world/HeightLimitView;)Vintermediary method_151Lnet/minecraft/class_5217;method_151(Lnet/minecraft/class_129;Lnet/minecraft/class_5539;)Vofficial aLfid;a(Lq;Ldrs;)V
-
setDifficulty
- Mappings:
Namespace Name Mixin selector named setDifficultyLnet/minecraft/client/world/ClientWorld$Properties;setDifficulty(Lnet/minecraft/world/Difficulty;)Vintermediary method_27875Lnet/minecraft/class_638$class_5271;method_27875(Lnet/minecraft/class_1267;)Vofficial aLgzn$a;a(Lcbn;)V
-
setDifficultyLocked
public void setDifficultyLocked(boolean difficultyLocked) - Mappings:
Namespace Name Mixin selector named setDifficultyLockedLnet/minecraft/client/world/ClientWorld$Properties;setDifficultyLocked(Z)Vintermediary method_27876Lnet/minecraft/class_638$class_5271;method_27876(Z)Vofficial aLgzn$a;a(Z)V
-
getSkyDarknessHeight
- Mappings:
Namespace Name Mixin selector named getSkyDarknessHeightLnet/minecraft/client/world/ClientWorld$Properties;getSkyDarknessHeight(Lnet/minecraft/world/HeightLimitView;)Dintermediary method_28105Lnet/minecraft/class_638$class_5271;method_28105(Lnet/minecraft/class_5539;)Dofficial aLgzn$a;a(Ldrs;)D
-
getVoidDarknessRange
public float getVoidDarknessRange()- Mappings:
Namespace Name Mixin selector named getVoidDarknessRangeLnet/minecraft/client/world/ClientWorld$Properties;getVoidDarknessRange()Fintermediary method_71646Lnet/minecraft/class_638$class_5271;method_71646()Fofficial dLgzn$a;d()F
-