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 fel$aintermediary net/minecraft/class_638$class_5271named net/minecraft/client/world/ClientWorld$Properties
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Difficultyprivate booleanprivate final booleanprivate final GameRulesprivate final booleanprivate booleanprivate floatprivate intprivate intprivate intprivate longprivate long -
Constructor Summary
Constructors -
Method Summary
Modifier 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
-
hardcore
private final boolean hardcore- Mappings:
Namespace Name Mixin selector official aLfel$a;a:Zintermediary field_24433Lnet/minecraft/class_638$class_5271;field_24433:Znamed hardcoreLnet/minecraft/client/world/ClientWorld$Properties;hardcore:Z
-
gameRules
- Mappings:
Namespace Name Mixin selector official bLfel$a;b:Lcmg;intermediary field_24434Lnet/minecraft/class_638$class_5271;field_24434:Lnet/minecraft/class_1928;named gameRulesLnet/minecraft/client/world/ClientWorld$Properties;gameRules:Lnet/minecraft/world/GameRules;
-
flatWorld
private final boolean flatWorld- Mappings:
Namespace Name Mixin selector official cLfel$a;c:Zintermediary field_24607Lnet/minecraft/class_638$class_5271;field_24607:Znamed flatWorldLnet/minecraft/client/world/ClientWorld$Properties;flatWorld:Z
-
spawnX
private int spawnX- Mappings:
Namespace Name Mixin selector official dLfel$a;d:Iintermediary field_24435Lnet/minecraft/class_638$class_5271;field_24435:Inamed spawnXLnet/minecraft/client/world/ClientWorld$Properties;spawnX:I
-
spawnY
private int spawnY- Mappings:
Namespace Name Mixin selector official eLfel$a;e:Iintermediary field_24436Lnet/minecraft/class_638$class_5271;field_24436:Inamed spawnYLnet/minecraft/client/world/ClientWorld$Properties;spawnY:I
-
spawnZ
private int spawnZ- Mappings:
Namespace Name Mixin selector official fLfel$a;f:Iintermediary field_24437Lnet/minecraft/class_638$class_5271;field_24437:Inamed spawnZLnet/minecraft/client/world/ClientWorld$Properties;spawnZ:I
-
spawnAngle
private float spawnAngle- Mappings:
Namespace Name Mixin selector official gLfel$a;g:Fintermediary field_26372Lnet/minecraft/class_638$class_5271;field_26372:Fnamed spawnAngleLnet/minecraft/client/world/ClientWorld$Properties;spawnAngle:F
-
time
private long time- Mappings:
Namespace Name Mixin selector official hLfel$a;h:Jintermediary field_24438Lnet/minecraft/class_638$class_5271;field_24438:Jnamed timeLnet/minecraft/client/world/ClientWorld$Properties;time:J
-
timeOfDay
private long timeOfDay- Mappings:
Namespace Name Mixin selector official iLfel$a;i:Jintermediary field_24439Lnet/minecraft/class_638$class_5271;field_24439:Jnamed timeOfDayLnet/minecraft/client/world/ClientWorld$Properties;timeOfDay:J
-
raining
private boolean raining- Mappings:
Namespace Name Mixin selector official jLfel$a;j:Zintermediary field_24440Lnet/minecraft/class_638$class_5271;field_24440:Znamed rainingLnet/minecraft/client/world/ClientWorld$Properties;raining:Z
-
difficulty
- Mappings:
Namespace Name Mixin selector official kLfel$a;k:Lbdt;intermediary field_24441Lnet/minecraft/class_638$class_5271;field_24441:Lnet/minecraft/class_1267;named difficultyLnet/minecraft/client/world/ClientWorld$Properties;difficulty:Lnet/minecraft/world/Difficulty;
-
difficultyLocked
private boolean difficultyLocked- Mappings:
Namespace Name Mixin selector official lLfel$a;l:Zintermediary field_24442Lnet/minecraft/class_638$class_5271;field_24442:Znamed difficultyLockedLnet/minecraft/client/world/ClientWorld$Properties;difficultyLocked:Z
-
-
Constructor Details
-
Properties
- Mappings:
Namespace Name Mixin selector official <init>Lfel$a;<init>(Lbdt;ZZ)Vintermediary <init>Lnet/minecraft/class_638$class_5271;<init>(Lnet/minecraft/class_1267;ZZ)Vnamed <init>Lnet/minecraft/client/world/ClientWorld$Properties;<init>(Lnet/minecraft/world/Difficulty;ZZ)V
-
-
Method Details
-
getSpawnX
public int getSpawnX()- Specified by:
getSpawnXin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector official aLdys;a()Iintermediary method_215Lnet/minecraft/class_5217;method_215()Inamed getSpawnXLnet/minecraft/world/WorldProperties;getSpawnX()I
-
getSpawnY
public int getSpawnY()- Specified by:
getSpawnYin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector official bLdys;b()Iintermediary method_144Lnet/minecraft/class_5217;method_144()Inamed getSpawnYLnet/minecraft/world/WorldProperties;getSpawnY()I
-
getSpawnZ
public int getSpawnZ()- Specified by:
getSpawnZin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector official cLdys;c()Iintermediary method_166Lnet/minecraft/class_5217;method_166()Inamed getSpawnZLnet/minecraft/world/WorldProperties;getSpawnZ()I
-
getSpawnAngle
public float getSpawnAngle()- Specified by:
getSpawnAnglein interfaceWorldProperties- Mappings:
Namespace Name Mixin selector official dLdys;d()Fintermediary method_30656Lnet/minecraft/class_5217;method_30656()Fnamed getSpawnAngleLnet/minecraft/world/WorldProperties;getSpawnAngle()F
-
getTime
public long getTime()- Specified by:
getTimein interfaceWorldProperties- Mappings:
Namespace Name Mixin selector official eLdys;e()Jintermediary method_188Lnet/minecraft/class_5217;method_188()Jnamed getTimeLnet/minecraft/world/WorldProperties;getTime()J
-
getTimeOfDay
public long getTimeOfDay()- Specified by:
getTimeOfDayin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector official fLdys;f()Jintermediary method_217Lnet/minecraft/class_5217;method_217()Jnamed getTimeOfDayLnet/minecraft/world/WorldProperties;getTimeOfDay()J
-
setSpawnX
public void setSpawnX(int spawnX) - Specified by:
setSpawnXin interfaceMutableWorldProperties- Mappings:
Namespace Name Mixin selector official bLdzc;b(I)Vintermediary method_27416Lnet/minecraft/class_5269;method_27416(I)Vnamed setSpawnXLnet/minecraft/world/MutableWorldProperties;setSpawnX(I)V
-
setSpawnY
public void setSpawnY(int spawnY) - Specified by:
setSpawnYin interfaceMutableWorldProperties- Mappings:
Namespace Name Mixin selector official cLdzc;c(I)Vintermediary method_27417Lnet/minecraft/class_5269;method_27417(I)Vnamed setSpawnYLnet/minecraft/world/MutableWorldProperties;setSpawnY(I)V
-
setSpawnZ
public void setSpawnZ(int spawnZ) - Specified by:
setSpawnZin interfaceMutableWorldProperties- Mappings:
Namespace Name Mixin selector official dLdzc;d(I)Vintermediary method_27419Lnet/minecraft/class_5269;method_27419(I)Vnamed setSpawnZLnet/minecraft/world/MutableWorldProperties;setSpawnZ(I)V
-
setSpawnAngle
public void setSpawnAngle(float spawnAngle) - Specified by:
setSpawnAnglein interfaceMutableWorldProperties- Mappings:
Namespace Name Mixin selector official aLdzc;a(F)Vintermediary method_30657Lnet/minecraft/class_5269;method_30657(F)Vnamed setSpawnAngleLnet/minecraft/world/MutableWorldProperties;setSpawnAngle(F)V
-
setTime
public void setTime(long time) - Mappings:
Namespace Name Mixin selector official aLfel$a;a(J)Vintermediary method_177Lnet/minecraft/class_638$class_5271;method_177(J)Vnamed setTimeLnet/minecraft/client/world/ClientWorld$Properties;setTime(J)V
-
setTimeOfDay
public void setTimeOfDay(long timeOfDay) - Mappings:
Namespace Name Mixin selector official bLfel$a;b(J)Vintermediary method_165Lnet/minecraft/class_638$class_5271;method_165(J)Vnamed setTimeOfDayLnet/minecraft/client/world/ClientWorld$Properties;setTimeOfDay(J)V
-
setSpawnPos
- Specified by:
setSpawnPosin interfaceMutableWorldProperties- Mappings:
Namespace Name Mixin selector official aLdzc;a(Lgu;F)Vintermediary method_187Lnet/minecraft/class_5269;method_187(Lnet/minecraft/class_2338;F)Vnamed setSpawnPosLnet/minecraft/world/MutableWorldProperties;setSpawnPos(Lnet/minecraft/util/math/BlockPos;F)V
-
isThundering
public boolean isThundering()- Specified by:
isThunderingin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector official iLdys;i()Zintermediary method_203Lnet/minecraft/class_5217;method_203()Znamed isThunderingLnet/minecraft/world/WorldProperties;isThundering()Z
-
isRaining
public boolean isRaining()- Specified by:
isRainingin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector official kLdys;k()Zintermediary method_156Lnet/minecraft/class_5217;method_156()Znamed isRainingLnet/minecraft/world/WorldProperties;isRaining()Z
-
setRaining
public void setRaining(boolean raining) - Specified by:
setRainingin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector official bLdys;b(Z)Vintermediary method_157Lnet/minecraft/class_5217;method_157(Z)Vnamed setRainingLnet/minecraft/world/WorldProperties;setRaining(Z)V
-
isHardcore
public boolean isHardcore()- Specified by:
isHardcorein interfaceWorldProperties- Mappings:
Namespace Name Mixin selector official nLdys;n()Zintermediary method_152Lnet/minecraft/class_5217;method_152()Znamed isHardcoreLnet/minecraft/world/WorldProperties;isHardcore()Z
-
getGameRules
- Specified by:
getGameRulesin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector official qLdys;q()Lcmg;intermediary method_146Lnet/minecraft/class_5217;method_146()Lnet/minecraft/class_1928;named getGameRulesLnet/minecraft/world/WorldProperties;getGameRules()Lnet/minecraft/world/GameRules;
-
getDifficulty
- Specified by:
getDifficultyin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector official sLdys;s()Lbdt;intermediary method_207Lnet/minecraft/class_5217;method_207()Lnet/minecraft/class_1267;named getDifficultyLnet/minecraft/world/WorldProperties;getDifficulty()Lnet/minecraft/world/Difficulty;
-
isDifficultyLocked
public boolean isDifficultyLocked()- Specified by:
isDifficultyLockedin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector official tLdys;t()Zintermediary method_197Lnet/minecraft/class_5217;method_197()Znamed isDifficultyLockedLnet/minecraft/world/WorldProperties;isDifficultyLocked()Z
-
populateCrashReport
- Specified by:
populateCrashReportin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector official aLdys;a(Lp;Lcmm;)Vintermediary method_151Lnet/minecraft/class_5217;method_151(Lnet/minecraft/class_129;Lnet/minecraft/class_5539;)Vnamed populateCrashReportLnet/minecraft/world/WorldProperties;populateCrashReport(Lnet/minecraft/util/crash/CrashReportSection;Lnet/minecraft/world/HeightLimitView;)V
-
setDifficulty
- Mappings:
Namespace Name Mixin selector official aLfel$a;a(Lbdt;)Vintermediary method_27875Lnet/minecraft/class_638$class_5271;method_27875(Lnet/minecraft/class_1267;)Vnamed setDifficultyLnet/minecraft/client/world/ClientWorld$Properties;setDifficulty(Lnet/minecraft/world/Difficulty;)V
-
setDifficultyLocked
public void setDifficultyLocked(boolean difficultyLocked) - Mappings:
Namespace Name Mixin selector official aLfel$a;a(Z)Vintermediary method_27876Lnet/minecraft/class_638$class_5271;method_27876(Z)Vnamed setDifficultyLockedLnet/minecraft/client/world/ClientWorld$Properties;setDifficultyLocked(Z)V
-
getSkyDarknessHeight
- Mappings:
Namespace Name Mixin selector official aLfel$a;a(Lcmm;)Dintermediary method_28105Lnet/minecraft/class_638$class_5271;method_28105(Lnet/minecraft/class_5539;)Dnamed getSkyDarknessHeightLnet/minecraft/client/world/ClientWorld$Properties;getSkyDarknessHeight(Lnet/minecraft/world/HeightLimitView;)D
-
getHorizonShadingRatio
public float getHorizonShadingRatio()- Mappings:
Namespace Name Mixin selector official gLfel$a;g()Fintermediary method_28106Lnet/minecraft/class_638$class_5271;method_28106()Fnamed getHorizonShadingRatioLnet/minecraft/client/world/ClientWorld$Properties;getHorizonShadingRatio()F
-