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 fvw$a
intermediary net/minecraft/class_638$class_5271
named net/minecraft/client/world/ClientWorld$Properties
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Difficulty
private boolean
private final boolean
private final GameRules
private final boolean
private boolean
private float
private BlockPos
private long
private long
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat
double
float
long
getTime()
long
boolean
boolean
boolean
boolean
void
populateCrashReport
(CrashReportSection reportSection, HeightLimitView world) void
setDifficulty
(Difficulty difficulty) void
setDifficultyLocked
(boolean difficultyLocked) void
setRaining
(boolean raining) void
setSpawnPos
(BlockPos pos, float angle) void
setTime
(long time) void
setTimeOfDay
(long timeOfDay)
-
Field Details
-
hardcore
private final boolean hardcore- Mappings:
Namespace Name Mixin selector official a
Lfvw$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
Lfvw$a;b:Lczz;
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;
-
flatWorld
private final boolean flatWorld- Mappings:
Namespace Name Mixin selector official c
Lfvw$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
-
spawnPos
- Mappings:
Namespace Name Mixin selector official d
Lfvw$a;d:Lin;
intermediary field_48402
Lnet/minecraft/class_638$class_5271;field_48402:Lnet/minecraft/class_2338;
named spawnPos
Lnet/minecraft/client/world/ClientWorld$Properties;spawnPos:Lnet/minecraft/util/math/BlockPos;
-
spawnAngle
private float spawnAngle- Mappings:
Namespace Name Mixin selector official e
Lfvw$a;e:F
intermediary field_26372
Lnet/minecraft/class_638$class_5271;field_26372:F
named spawnAngle
Lnet/minecraft/client/world/ClientWorld$Properties;spawnAngle:F
-
time
private long time- Mappings:
Namespace Name Mixin selector official f
Lfvw$a;f:J
intermediary field_24438
Lnet/minecraft/class_638$class_5271;field_24438:J
named time
Lnet/minecraft/client/world/ClientWorld$Properties;time:J
-
timeOfDay
private long timeOfDay- Mappings:
Namespace Name Mixin selector official g
Lfvw$a;g:J
intermediary field_24439
Lnet/minecraft/class_638$class_5271;field_24439:J
named timeOfDay
Lnet/minecraft/client/world/ClientWorld$Properties;timeOfDay:J
-
raining
private boolean raining- Mappings:
Namespace Name Mixin selector official h
Lfvw$a;h: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 i
Lfvw$a;i:Lbpj;
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;
-
difficultyLocked
private boolean difficultyLocked- Mappings:
Namespace Name Mixin selector official j
Lfvw$a;j: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>
Lfvw$a;<init>(Lbpj;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
-
getSpawnPos
- Specified by:
getSpawnPos
in interfaceWorldProperties
- Mappings:
Namespace Name Mixin selector official a
Lenx;a()Lin;
intermediary method_56126
Lnet/minecraft/class_5217;method_56126()Lnet/minecraft/class_2338;
named getSpawnPos
Lnet/minecraft/world/WorldProperties;getSpawnPos()Lnet/minecraft/util/math/BlockPos;
-
getSpawnAngle
public float getSpawnAngle()- Specified by:
getSpawnAngle
in interfaceWorldProperties
- Mappings:
Namespace Name Mixin selector official b
Lenx;b()F
intermediary method_30656
Lnet/minecraft/class_5217;method_30656()F
named getSpawnAngle
Lnet/minecraft/world/WorldProperties;getSpawnAngle()F
-
getTime
public long getTime()- Specified by:
getTime
in interfaceWorldProperties
- Mappings:
Namespace Name Mixin selector official c
Lenx;c()J
intermediary method_188
Lnet/minecraft/class_5217;method_188()J
named getTime
Lnet/minecraft/world/WorldProperties;getTime()J
-
getTimeOfDay
public long getTimeOfDay()- Specified by:
getTimeOfDay
in interfaceWorldProperties
- Mappings:
Namespace Name Mixin selector official d
Lenx;d()J
intermediary method_217
Lnet/minecraft/class_5217;method_217()J
named getTimeOfDay
Lnet/minecraft/world/WorldProperties;getTimeOfDay()J
-
setTime
public void setTime(long time) - Mappings:
Namespace Name Mixin selector official a
Lfvw$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
-
setTimeOfDay
public void setTimeOfDay(long timeOfDay) - Mappings:
Namespace Name Mixin selector official b
Lfvw$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:
setSpawnPos
in interfaceMutableWorldProperties
- Mappings:
Namespace Name Mixin selector official a
Leoi;a(Lin;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
-
isThundering
public boolean isThundering()- Specified by:
isThundering
in interfaceWorldProperties
- Mappings:
Namespace Name Mixin selector official g
Lenx;g()Z
intermediary method_203
Lnet/minecraft/class_5217;method_203()Z
named isThundering
Lnet/minecraft/world/WorldProperties;isThundering()Z
-
isRaining
public boolean isRaining()- Specified by:
isRaining
in interfaceWorldProperties
- Mappings:
Namespace Name Mixin selector official i
Lenx;i()Z
intermediary method_156
Lnet/minecraft/class_5217;method_156()Z
named isRaining
Lnet/minecraft/world/WorldProperties;isRaining()Z
-
setRaining
public void setRaining(boolean raining) - Specified by:
setRaining
in interfaceWorldProperties
- Mappings:
Namespace Name Mixin selector official b
Lenx;b(Z)V
intermediary method_157
Lnet/minecraft/class_5217;method_157(Z)V
named setRaining
Lnet/minecraft/world/WorldProperties;setRaining(Z)V
-
isHardcore
public boolean isHardcore()- Specified by:
isHardcore
in interfaceWorldProperties
- Mappings:
Namespace Name Mixin selector official l
Lenx;l()Z
intermediary method_152
Lnet/minecraft/class_5217;method_152()Z
named isHardcore
Lnet/minecraft/world/WorldProperties;isHardcore()Z
-
getGameRules
- Specified by:
getGameRules
in interfaceWorldProperties
- Mappings:
Namespace Name Mixin selector official o
Lenx;o()Lczz;
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:
getDifficulty
in interfaceWorldProperties
- Mappings:
Namespace Name Mixin selector official q
Lenx;q()Lbpj;
intermediary method_207
Lnet/minecraft/class_5217;method_207()Lnet/minecraft/class_1267;
named getDifficulty
Lnet/minecraft/world/WorldProperties;getDifficulty()Lnet/minecraft/world/Difficulty;
-
isDifficultyLocked
public boolean isDifficultyLocked()- Specified by:
isDifficultyLocked
in interfaceWorldProperties
- Mappings:
Namespace Name Mixin selector official r
Lenx;r()Z
intermediary method_197
Lnet/minecraft/class_5217;method_197()Z
named isDifficultyLocked
Lnet/minecraft/world/WorldProperties;isDifficultyLocked()Z
-
populateCrashReport
- Specified by:
populateCrashReport
in interfaceWorldProperties
- Mappings:
Namespace Name Mixin selector official a
Lenx;a(Lp;Ldaf;)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
Lfvw$a;a(Lbpj;)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
-
setDifficultyLocked
public void setDifficultyLocked(boolean difficultyLocked) - Mappings:
Namespace Name Mixin selector official a
Lfvw$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
Lfvw$a;a(Ldaf;)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
-
getHorizonShadingRatio
public float getHorizonShadingRatio()- Mappings:
Namespace Name Mixin selector official e
Lfvw$a;e()F
intermediary method_28106
Lnet/minecraft/class_638$class_5271;method_28106()F
named getHorizonShadingRatio
Lnet/minecraft/client/world/ClientWorld$Properties;getHorizonShadingRatio()F
-