接口 WorldProperties
-
- 所有已知子接口:
MutableWorldProperties,ServerWorldProperties
public interface WorldProperties- Mappings:
Namespace Name official dgyintermediary net/minecraft/class_5217named net/minecraft/world/WorldProperties
-
-
方法概要
所有方法 实例方法 抽象方法 默认方法 修饰符和类型 方法 说明 DifficultygetDifficulty()GameRulesgetGameRules()floatgetSpawnAngle()intgetSpawnX()intgetSpawnY()intgetSpawnZ()longgetTime()longgetTimeOfDay()booleanisDifficultyLocked()booleanisHardcore()booleanisRaining()booleanisThundering()default voidpopulateCrashReport(CrashReportSection reportSection, HeightLimitView world)voidsetRaining(boolean raining)
-
-
-
方法详细资料
-
getSpawnX
int getSpawnX()
- Mappings:
Namespace Name Mixin selector official aLdgy;a()Iintermediary method_215Lnet/minecraft/class_5217;method_215()Inamed getSpawnXLnet/minecraft/world/WorldProperties;getSpawnX()I
-
getSpawnY
int getSpawnY()
- Mappings:
Namespace Name Mixin selector official bLdgy;b()Iintermediary method_144Lnet/minecraft/class_5217;method_144()Inamed getSpawnYLnet/minecraft/world/WorldProperties;getSpawnY()I
-
getSpawnZ
int getSpawnZ()
- Mappings:
Namespace Name Mixin selector official cLdgy;c()Iintermediary method_166Lnet/minecraft/class_5217;method_166()Inamed getSpawnZLnet/minecraft/world/WorldProperties;getSpawnZ()I
-
getSpawnAngle
float getSpawnAngle()
- Mappings:
Namespace Name Mixin selector official dLdgy;d()Fintermediary method_30656Lnet/minecraft/class_5217;method_30656()Fnamed getSpawnAngleLnet/minecraft/world/WorldProperties;getSpawnAngle()F
-
getTime
long getTime()
- Mappings:
Namespace Name Mixin selector official eLdgy;e()Jintermediary method_188Lnet/minecraft/class_5217;method_188()Jnamed getTimeLnet/minecraft/world/WorldProperties;getTime()J
-
getTimeOfDay
long getTimeOfDay()
- Mappings:
Namespace Name Mixin selector official fLdgy;f()Jintermediary method_217Lnet/minecraft/class_5217;method_217()Jnamed getTimeOfDayLnet/minecraft/world/WorldProperties;getTimeOfDay()J
-
isThundering
boolean isThundering()
- Mappings:
Namespace Name Mixin selector official iLdgy;i()Zintermediary method_203Lnet/minecraft/class_5217;method_203()Znamed isThunderingLnet/minecraft/world/WorldProperties;isThundering()Z
-
isRaining
boolean isRaining()
- Mappings:
Namespace Name Mixin selector official kLdgy;k()Zintermediary method_156Lnet/minecraft/class_5217;method_156()Znamed isRainingLnet/minecraft/world/WorldProperties;isRaining()Z
-
setRaining
void setRaining(boolean raining)
- 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
boolean isHardcore()
- Mappings:
Namespace Name Mixin selector official nLdgy;n()Zintermediary method_152Lnet/minecraft/class_5217;method_152()Znamed isHardcoreLnet/minecraft/world/WorldProperties;isHardcore()Z
-
getGameRules
GameRules getGameRules()
- 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
Difficulty getDifficulty()
- 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
boolean isDifficultyLocked()
- Mappings:
Namespace Name Mixin selector official tLdgy;t()Zintermediary method_197Lnet/minecraft/class_5217;method_197()Znamed isDifficultyLockedLnet/minecraft/world/WorldProperties;isDifficultyLocked()Z
-
populateCrashReport
default void populateCrashReport(CrashReportSection reportSection, HeightLimitView world)
- 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
-
-