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