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 - official - euv$a- intermediary - net/minecraft/class_638$class_5271- named - net/minecraft/client/world/ClientWorld$Properties
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate Difficultyprivate booleanprivate final booleanprivate final GameRulesprivate final booleanprivate booleanprivate floatprivate intprivate intprivate intprivate longprivate long
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfloatdoublefloatintintintlonggetTime()longbooleanbooleanbooleanbooleanvoidpopulateCrashReport(CrashReportSection reportSection, HeightLimitView world) voidsetDifficulty(Difficulty difficulty) voidsetDifficultyLocked(boolean difficultyLocked) voidsetRaining(boolean raining) voidsetSpawnAngle(float spawnAngle) voidsetSpawnPos(BlockPos pos, float angle) voidsetSpawnX(int spawnX) voidsetSpawnY(int spawnY) voidsetSpawnZ(int spawnZ) voidsetTime(long time) voidsetTimeOfDay(long timeOfDay) 
- 
Field Details- 
hardcoreprivate final boolean hardcore- Mappings:
- Namespace - Name - Mixin selector - official - a- Leuv$a;a:Z- intermediary - field_24433- Lnet/minecraft/class_638$class_5271;field_24433:Z- named - hardcore- Lnet/minecraft/client/world/ClientWorld$Properties;hardcore:Z
 
- 
gameRules- Mappings:
- Namespace - Name - Mixin selector - official - b- Leuv$a;b:Lcgt;- intermediary - field_24434- Lnet/minecraft/class_638$class_5271;field_24434:Lnet/minecraft/class_1928;- named - gameRules- Lnet/minecraft/client/world/ClientWorld$Properties;gameRules:Lnet/minecraft/world/GameRules;
 
- 
flatWorldprivate final boolean flatWorld- Mappings:
- Namespace - Name - Mixin selector - official - c- Leuv$a;c:Z- intermediary - field_24607- Lnet/minecraft/class_638$class_5271;field_24607:Z- named - flatWorld- Lnet/minecraft/client/world/ClientWorld$Properties;flatWorld:Z
 
- 
spawnXprivate int spawnX- Mappings:
- Namespace - Name - Mixin selector - official - d- Leuv$a;d:I- intermediary - field_24435- Lnet/minecraft/class_638$class_5271;field_24435:I- named - spawnX- Lnet/minecraft/client/world/ClientWorld$Properties;spawnX:I
 
- 
spawnYprivate int spawnY- Mappings:
- Namespace - Name - Mixin selector - official - e- Leuv$a;e:I- intermediary - field_24436- Lnet/minecraft/class_638$class_5271;field_24436:I- named - spawnY- Lnet/minecraft/client/world/ClientWorld$Properties;spawnY:I
 
- 
spawnZprivate int spawnZ- Mappings:
- Namespace - Name - Mixin selector - official - f- Leuv$a;f:I- intermediary - field_24437- Lnet/minecraft/class_638$class_5271;field_24437:I- named - spawnZ- Lnet/minecraft/client/world/ClientWorld$Properties;spawnZ:I
 
- 
spawnAngleprivate float spawnAngle- Mappings:
- Namespace - Name - Mixin selector - official - g- Leuv$a;g:F- intermediary - field_26372- Lnet/minecraft/class_638$class_5271;field_26372:F- named - spawnAngle- Lnet/minecraft/client/world/ClientWorld$Properties;spawnAngle:F
 
- 
timeprivate long time- Mappings:
- Namespace - Name - Mixin selector - official - h- Leuv$a;h:J- intermediary - field_24438- Lnet/minecraft/class_638$class_5271;field_24438:J- named - time- Lnet/minecraft/client/world/ClientWorld$Properties;time:J
 
- 
timeOfDayprivate long timeOfDay- Mappings:
- Namespace - Name - Mixin selector - official - i- Leuv$a;i:J- intermediary - field_24439- Lnet/minecraft/class_638$class_5271;field_24439:J- named - timeOfDay- Lnet/minecraft/client/world/ClientWorld$Properties;timeOfDay:J
 
- 
rainingprivate boolean raining- Mappings:
- Namespace - Name - Mixin selector - official - j- Leuv$a;j:Z- intermediary - field_24440- Lnet/minecraft/class_638$class_5271;field_24440:Z- named - raining- Lnet/minecraft/client/world/ClientWorld$Properties;raining:Z
 
- 
difficulty- Mappings:
- Namespace - Name - Mixin selector - official - k- Leuv$a;k:Lbag;- intermediary - field_24441- Lnet/minecraft/class_638$class_5271;field_24441:Lnet/minecraft/class_1267;- named - difficulty- Lnet/minecraft/client/world/ClientWorld$Properties;difficulty:Lnet/minecraft/world/Difficulty;
 
- 
difficultyLockedprivate boolean difficultyLocked- Mappings:
- Namespace - Name - Mixin selector - official - l- Leuv$a;l:Z- intermediary - field_24442- Lnet/minecraft/class_638$class_5271;field_24442:Z- named - difficultyLocked- Lnet/minecraft/client/world/ClientWorld$Properties;difficultyLocked:Z
 
 
- 
- 
Constructor Details- 
Properties- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Leuv$a;<init>(Lbag;ZZ)V- intermediary - <init>- Lnet/minecraft/class_638$class_5271;<init>(Lnet/minecraft/class_1267;ZZ)V- named - <init>- Lnet/minecraft/client/world/ClientWorld$Properties;<init>(Lnet/minecraft/world/Difficulty;ZZ)V
 
 
- 
- 
Method Details- 
getSpawnXpublic int getSpawnX()- Specified by:
- getSpawnXin interface- WorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldrn;a()I- intermediary - method_215- Lnet/minecraft/class_5217;method_215()I- named - getSpawnX- Lnet/minecraft/world/WorldProperties;getSpawnX()I
 
- 
getSpawnYpublic int getSpawnY()- Specified by:
- getSpawnYin interface- WorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - b- Ldrn;b()I- intermediary - method_144- Lnet/minecraft/class_5217;method_144()I- named - getSpawnY- Lnet/minecraft/world/WorldProperties;getSpawnY()I
 
- 
getSpawnZpublic int getSpawnZ()- Specified by:
- getSpawnZin interface- WorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - c- Ldrn;c()I- intermediary - method_166- Lnet/minecraft/class_5217;method_166()I- named - getSpawnZ- Lnet/minecraft/world/WorldProperties;getSpawnZ()I
 
- 
getSpawnAnglepublic float getSpawnAngle()- Specified by:
- getSpawnAnglein interface- WorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - d- Ldrn;d()F- intermediary - method_30656- Lnet/minecraft/class_5217;method_30656()F- named - getSpawnAngle- Lnet/minecraft/world/WorldProperties;getSpawnAngle()F
 
- 
getTimepublic long getTime()- Specified by:
- getTimein interface- WorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - e- Ldrn;e()J- intermediary - method_188- Lnet/minecraft/class_5217;method_188()J- named - getTime- Lnet/minecraft/world/WorldProperties;getTime()J
 
- 
getTimeOfDaypublic long getTimeOfDay()- Specified by:
- getTimeOfDayin interface- WorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - f- Ldrn;f()J- intermediary - method_217- Lnet/minecraft/class_5217;method_217()J- named - getTimeOfDay- Lnet/minecraft/world/WorldProperties;getTimeOfDay()J
 
- 
setSpawnXpublic void setSpawnX(int spawnX) - Specified by:
- setSpawnXin interface- MutableWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - b- Ldrx;b(I)V- intermediary - method_27416- Lnet/minecraft/class_5269;method_27416(I)V- named - setSpawnX- Lnet/minecraft/world/MutableWorldProperties;setSpawnX(I)V
 
- 
setSpawnYpublic void setSpawnY(int spawnY) - Specified by:
- setSpawnYin interface- MutableWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - c- Ldrx;c(I)V- intermediary - method_27417- Lnet/minecraft/class_5269;method_27417(I)V- named - setSpawnY- Lnet/minecraft/world/MutableWorldProperties;setSpawnY(I)V
 
- 
setSpawnZpublic void setSpawnZ(int spawnZ) - Specified by:
- setSpawnZin interface- MutableWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - d- Ldrx;d(I)V- intermediary - method_27419- Lnet/minecraft/class_5269;method_27419(I)V- named - setSpawnZ- Lnet/minecraft/world/MutableWorldProperties;setSpawnZ(I)V
 
- 
setSpawnAnglepublic void setSpawnAngle(float spawnAngle) - Specified by:
- setSpawnAnglein interface- MutableWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldrx;a(F)V- intermediary - method_30657- Lnet/minecraft/class_5269;method_30657(F)V- named - setSpawnAngle- Lnet/minecraft/world/MutableWorldProperties;setSpawnAngle(F)V
 
- 
setTimepublic void setTime(long time) - Mappings:
- Namespace - Name - Mixin selector - official - a- Leuv$a;a(J)V- intermediary - method_177- Lnet/minecraft/class_638$class_5271;method_177(J)V- named - setTime- Lnet/minecraft/client/world/ClientWorld$Properties;setTime(J)V
 
- 
setTimeOfDaypublic void setTimeOfDay(long timeOfDay) - Mappings:
- Namespace - Name - Mixin selector - official - b- Leuv$a;b(J)V- intermediary - method_165- Lnet/minecraft/class_638$class_5271;method_165(J)V- named - setTimeOfDay- Lnet/minecraft/client/world/ClientWorld$Properties;setTimeOfDay(J)V
 
- 
setSpawnPos- Specified by:
- setSpawnPosin interface- MutableWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldrx;a(Lgt;F)V- intermediary - method_187- Lnet/minecraft/class_5269;method_187(Lnet/minecraft/class_2338;F)V- named - setSpawnPos- Lnet/minecraft/world/MutableWorldProperties;setSpawnPos(Lnet/minecraft/util/math/BlockPos;F)V
 
- 
isThunderingpublic boolean isThundering()- Specified by:
- isThunderingin interface- WorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - i- Ldrn;i()Z- intermediary - method_203- Lnet/minecraft/class_5217;method_203()Z- named - isThundering- Lnet/minecraft/world/WorldProperties;isThundering()Z
 
- 
isRainingpublic boolean isRaining()- Specified by:
- isRainingin interface- WorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - k- Ldrn;k()Z- intermediary - method_156- Lnet/minecraft/class_5217;method_156()Z- named - isRaining- Lnet/minecraft/world/WorldProperties;isRaining()Z
 
- 
setRainingpublic void setRaining(boolean raining) - Specified by:
- setRainingin interface- WorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - b- Ldrn;b(Z)V- intermediary - method_157- Lnet/minecraft/class_5217;method_157(Z)V- named - setRaining- Lnet/minecraft/world/WorldProperties;setRaining(Z)V
 
- 
isHardcorepublic boolean isHardcore()- Specified by:
- isHardcorein interface- WorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - n- Ldrn;n()Z- intermediary - method_152- Lnet/minecraft/class_5217;method_152()Z- named - isHardcore- Lnet/minecraft/world/WorldProperties;isHardcore()Z
 
- 
getGameRules- Specified by:
- getGameRulesin interface- WorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - q- Ldrn;q()Lcgt;- intermediary - method_146- Lnet/minecraft/class_5217;method_146()Lnet/minecraft/class_1928;- named - getGameRules- Lnet/minecraft/world/WorldProperties;getGameRules()Lnet/minecraft/world/GameRules;
 
- 
getDifficulty- Specified by:
- getDifficultyin interface- WorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - s- Ldrn;s()Lbag;- intermediary - method_207- Lnet/minecraft/class_5217;method_207()Lnet/minecraft/class_1267;- named - getDifficulty- Lnet/minecraft/world/WorldProperties;getDifficulty()Lnet/minecraft/world/Difficulty;
 
- 
isDifficultyLockedpublic boolean isDifficultyLocked()- Specified by:
- isDifficultyLockedin interface- WorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - t- Ldrn;t()Z- intermediary - method_197- Lnet/minecraft/class_5217;method_197()Z- named - isDifficultyLocked- Lnet/minecraft/world/WorldProperties;isDifficultyLocked()Z
 
- 
populateCrashReport- Specified by:
- populateCrashReportin interface- WorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldrn;a(Lr;Lcgz;)V- intermediary - method_151- Lnet/minecraft/class_5217;method_151(Lnet/minecraft/class_129;Lnet/minecraft/class_5539;)V- named - populateCrashReport- Lnet/minecraft/world/WorldProperties;populateCrashReport(Lnet/minecraft/util/crash/CrashReportSection;Lnet/minecraft/world/HeightLimitView;)V
 
- 
setDifficulty- Mappings:
- Namespace - Name - Mixin selector - official - a- Leuv$a;a(Lbag;)V- intermediary - method_27875- Lnet/minecraft/class_638$class_5271;method_27875(Lnet/minecraft/class_1267;)V- named - setDifficulty- Lnet/minecraft/client/world/ClientWorld$Properties;setDifficulty(Lnet/minecraft/world/Difficulty;)V
 
- 
setDifficultyLockedpublic void setDifficultyLocked(boolean difficultyLocked) - Mappings:
- Namespace - Name - Mixin selector - official - a- Leuv$a;a(Z)V- intermediary - method_27876- Lnet/minecraft/class_638$class_5271;method_27876(Z)V- named - setDifficultyLocked- Lnet/minecraft/client/world/ClientWorld$Properties;setDifficultyLocked(Z)V
 
- 
getSkyDarknessHeight- Mappings:
- Namespace - Name - Mixin selector - official - a- Leuv$a;a(Lcgz;)D- intermediary - method_28105- Lnet/minecraft/class_638$class_5271;method_28105(Lnet/minecraft/class_5539;)D- named - getSkyDarknessHeight- Lnet/minecraft/client/world/ClientWorld$Properties;getSkyDarknessHeight(Lnet/minecraft/world/HeightLimitView;)D
 
- 
getHorizonShadingRatiopublic float getHorizonShadingRatio()- Mappings:
- Namespace - Name - Mixin selector - official - g- Leuv$a;g()F- intermediary - method_28106- Lnet/minecraft/class_638$class_5271;method_28106()F- named - getHorizonShadingRatio- Lnet/minecraft/client/world/ClientWorld$Properties;getHorizonShadingRatio()F
 
 
-