类 ClientWorld.Properties
- java.lang.Object
-
- net.minecraft.client.world.ClientWorld.Properties
-
- 所有已实现的接口:
MutableWorldProperties,WorldProperties
- 封闭类:
- ClientWorld
@Environment(CLIENT) public static class ClientWorld.Properties extends Object implements MutableWorldProperties
- Mappings:
Namespace Name official ehx$aintermediary net/minecraft/class_638$class_5271named net/minecraft/client/world/ClientWorld$Properties
-
-
字段概要
字段 修饰符和类型 字段 说明 private Difficultydifficultyprivate booleandifficultyLockedprivate booleanflatWorldprivate GameRulesgameRulesprivate booleanhardcoreprivate booleanrainingprivate floatspawnAngleprivate intspawnXprivate intspawnYprivate intspawnZprivate longtimeprivate longtimeOfDay
-
构造器概要
构造器 构造器 说明 Properties(Difficulty difficulty, boolean hardcore, boolean flatWorld)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 DifficultygetDifficulty()GameRulesgetGameRules()doublegetHorizonShadingRatio()doublegetSkyDarknessHeight(HeightLimitView heightLimitView)floatgetSpawnAngle()intgetSpawnX()intgetSpawnY()intgetSpawnZ()longgetTime()longgetTimeOfDay()booleanisDifficultyLocked()booleanisHardcore()booleanisRaining()booleanisThundering()voidpopulateCrashReport(CrashReportSection reportSection, HeightLimitView world)voidsetDifficulty(Difficulty difficulty)voidsetDifficultyLocked(boolean difficultyLocked)voidsetRaining(boolean raining)voidsetSpawnAngle(float angle)voidsetSpawnPos(BlockPos pos, float angle)voidsetSpawnX(int spawnX)voidsetSpawnY(int spawnY)voidsetSpawnZ(int spawnZ)voidsetTime(long difficulty)voidsetTimeOfDay(long time)
-
-
-
字段详细资料
-
hardcore
private final boolean hardcore
- Mappings:
Namespace Name Mixin selector official aLehx$a;a:Zintermediary field_24433Lnet/minecraft/class_638$class_5271;field_24433:Znamed hardcoreLnet/minecraft/client/world/ClientWorld$Properties;hardcore:Z
-
gameRules
private final GameRules gameRules
- Mappings:
Namespace Name Mixin selector official bLehx$a;b:Lbvn;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 cLehx$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 dLehx$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 eLehx$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 fLehx$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 gLehx$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 hLehx$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 iLehx$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 jLehx$a;j:Zintermediary field_24440Lnet/minecraft/class_638$class_5271;field_24440:Znamed rainingLnet/minecraft/client/world/ClientWorld$Properties;raining:Z
-
difficulty
private Difficulty difficulty
- Mappings:
Namespace Name Mixin selector official kLehx$a;k:Lard;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 lLehx$a;l:Zintermediary field_24442Lnet/minecraft/class_638$class_5271;field_24442:Znamed difficultyLockedLnet/minecraft/client/world/ClientWorld$Properties;difficultyLocked:Z
-
-
构造器详细资料
-
Properties
public Properties(Difficulty difficulty, boolean hardcore, boolean flatWorld)
- Mappings:
Namespace Name Mixin selector official <init>Lehx$a;<init>(Lard;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
-
-
方法详细资料
-
getSpawnX
public int getSpawnX()
- 指定者:
getSpawnX在接口中WorldProperties- Mappings:
Namespace Name Mixin selector official aLdgy;a()Iintermediary method_215Lnet/minecraft/class_5217;method_215()Inamed getSpawnXLnet/minecraft/world/WorldProperties;getSpawnX()I
-
getSpawnY
public int getSpawnY()
- 指定者:
getSpawnY在接口中WorldProperties- Mappings:
Namespace Name Mixin selector official bLdgy;b()Iintermediary method_144Lnet/minecraft/class_5217;method_144()Inamed getSpawnYLnet/minecraft/world/WorldProperties;getSpawnY()I
-
getSpawnZ
public int getSpawnZ()
- 指定者:
getSpawnZ在接口中WorldProperties- Mappings:
Namespace Name Mixin selector official cLdgy;c()Iintermediary method_166Lnet/minecraft/class_5217;method_166()Inamed getSpawnZLnet/minecraft/world/WorldProperties;getSpawnZ()I
-
getSpawnAngle
public float getSpawnAngle()
- 指定者:
getSpawnAngle在接口中WorldProperties- Mappings:
Namespace Name Mixin selector official dLdgy;d()Fintermediary method_30656Lnet/minecraft/class_5217;method_30656()Fnamed getSpawnAngleLnet/minecraft/world/WorldProperties;getSpawnAngle()F
-
getTime
public long getTime()
- 指定者:
getTime在接口中WorldProperties- Mappings:
Namespace Name Mixin selector official eLdgy;e()Jintermediary method_188Lnet/minecraft/class_5217;method_188()Jnamed getTimeLnet/minecraft/world/WorldProperties;getTime()J
-
getTimeOfDay
public long getTimeOfDay()
- 指定者:
getTimeOfDay在接口中WorldProperties- Mappings:
Namespace Name Mixin selector official fLdgy;f()Jintermediary method_217Lnet/minecraft/class_5217;method_217()Jnamed getTimeOfDayLnet/minecraft/world/WorldProperties;getTimeOfDay()J
-
setSpawnX
public void setSpawnX(int spawnX)
- 指定者:
setSpawnX在接口中MutableWorldProperties- Mappings:
Namespace Name Mixin selector official bLdhj;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)
- 指定者:
setSpawnY在接口中MutableWorldProperties- Mappings:
Namespace Name Mixin selector official cLdhj;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)
- 指定者:
setSpawnZ在接口中MutableWorldProperties- Mappings:
Namespace Name Mixin selector official dLdhj;d(I)Vintermediary method_27419Lnet/minecraft/class_5269;method_27419(I)Vnamed setSpawnZLnet/minecraft/world/MutableWorldProperties;setSpawnZ(I)V
-
setSpawnAngle
public void setSpawnAngle(float angle)
- 指定者:
setSpawnAngle在接口中MutableWorldProperties- Mappings:
Namespace Name Mixin selector official aLdhj;a(F)Vintermediary method_30657Lnet/minecraft/class_5269;method_30657(F)Vnamed setSpawnAngleLnet/minecraft/world/MutableWorldProperties;setSpawnAngle(F)V
-
setTime
public void setTime(long difficulty)
- Mappings:
Namespace Name Mixin selector official aLehx$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 time)
- Mappings:
Namespace Name Mixin selector official bLehx$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
public void setSpawnPos(BlockPos pos, float angle)
- 指定者:
setSpawnPos在接口中MutableWorldProperties- Mappings:
Namespace Name Mixin selector official aLdhj;a(Lgb;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()
- 指定者:
isThundering在接口中WorldProperties- Mappings:
Namespace Name Mixin selector official iLdgy;i()Zintermediary method_203Lnet/minecraft/class_5217;method_203()Znamed isThunderingLnet/minecraft/world/WorldProperties;isThundering()Z
-
isRaining
public boolean isRaining()
- 指定者:
isRaining在接口中WorldProperties- Mappings:
Namespace Name Mixin selector official kLdgy;k()Zintermediary method_156Lnet/minecraft/class_5217;method_156()Znamed isRainingLnet/minecraft/world/WorldProperties;isRaining()Z
-
setRaining
public void setRaining(boolean raining)
- 指定者:
setRaining在接口中WorldProperties- Mappings:
Namespace Name Mixin selector official bLdgy;b(Z)Vintermediary method_157Lnet/minecraft/class_5217;method_157(Z)Vnamed setRainingLnet/minecraft/world/WorldProperties;setRaining(Z)V
-
isHardcore
public boolean isHardcore()
- 指定者:
isHardcore在接口中WorldProperties- Mappings:
Namespace Name Mixin selector official nLdgy;n()Zintermediary method_152Lnet/minecraft/class_5217;method_152()Znamed isHardcoreLnet/minecraft/world/WorldProperties;isHardcore()Z
-
getGameRules
public GameRules getGameRules()
- 指定者:
getGameRules在接口中WorldProperties- Mappings:
Namespace Name Mixin selector official qLdgy;q()Lbvn;intermediary method_146Lnet/minecraft/class_5217;method_146()Lnet/minecraft/class_1928;named getGameRulesLnet/minecraft/world/WorldProperties;getGameRules()Lnet/minecraft/world/GameRules;
-
getDifficulty
public Difficulty getDifficulty()
- 指定者:
getDifficulty在接口中WorldProperties- Mappings:
Namespace Name Mixin selector official sLdgy;s()Lard;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()
- 指定者:
isDifficultyLocked在接口中WorldProperties- Mappings:
Namespace Name Mixin selector official tLdgy;t()Zintermediary method_197Lnet/minecraft/class_5217;method_197()Znamed isDifficultyLockedLnet/minecraft/world/WorldProperties;isDifficultyLocked()Z
-
populateCrashReport
public void populateCrashReport(CrashReportSection reportSection, HeightLimitView world)
- 指定者:
populateCrashReport在接口中WorldProperties- Mappings:
Namespace Name Mixin selector official aLdgy;a(Lr;Lbvt;)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
public void setDifficulty(Difficulty difficulty)
- Mappings:
Namespace Name Mixin selector official aLehx$a;a(Lard;)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 aLehx$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
public double getSkyDarknessHeight(HeightLimitView heightLimitView)
- Mappings:
Namespace Name Mixin selector official aLehx$a;a(Lbvt;)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 double getHorizonShadingRatio()
- Mappings:
Namespace Name Mixin selector official gLehx$a;g()Dintermediary method_28106Lnet/minecraft/class_638$class_5271;method_28106()Dnamed getHorizonShadingRatioLnet/minecraft/client/world/ClientWorld$Properties;getHorizonShadingRatio()D
-
-