Package net.minecraft.world.level
Class LevelProperties
java.lang.Object
net.minecraft.world.level.LevelProperties
- All Implemented Interfaces:
ServerWorldProperties,MutableWorldProperties,SaveProperties,WorldProperties
- Mappings:
Namespace Name official dhhintermediary net/minecraft/class_31named net/minecraft/world/level/LevelProperties
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate @Nullable NbtCompoundprivate @Nullable com.mojang.datafixers.DataFixerprivate intprivate booleanprivate NbtCompoundprivate GeneratorOptionsprivate booleanprivate LevelInfoprivate com.mojang.serialization.Lifecycleprivate static Loggerprivate booleanprivate @Nullable NbtCompoundprivate booleanprivate booleanprivate intprivate Timer<MinecraftServer>private floatprivate intprivate intprivate intprivate booleanprivate intprivate longprivate longprivate intprivate intprivate intprotected static Stringprivate WorldBorder.PropertiesFields inherited from interface net.minecraft.world.SaveProperties
ANVIL_FORMAT_ID, MCREGION_FORMAT_ID -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateLevelProperties(@Nullable com.mojang.datafixers.DataFixer dataFixer, int dataVersion, @Nullable NbtCompound playerData, boolean modded, int spawnX, int spawnY, int spawnZ, float spawnAngle, long time, long timeOfDay, int version, int clearWeatherTime, int rainTime, boolean raining, int thunderTime, boolean thundering, boolean initialized, boolean difficultyLocked, WorldBorder.Properties worldBorder, int wanderingTraderSpawnDelay, int wanderingTraderSpawnChance, @Nullable UUID wanderingTraderId, Set<String> serverBrands, Timer<MinecraftServer> scheduledEvents, @Nullable NbtCompound customBossEvents, NbtCompound dragonFight, LevelInfo levelInfo, GeneratorOptions generatorOptions, com.mojang.serialization.Lifecycle lifecycle)LevelProperties(LevelInfo levelInfo, GeneratorOptions generatorOptions, com.mojang.serialization.Lifecycle lifecycle) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddServerBrand(String brand, boolean modded)booleancloneWorldNbt(DynamicRegistryManager registryManager, @Nullable NbtCompound playerNbt)intcom.mojang.serialization.LifecycleintfloatintintintintlonggetTime()longintintintbooleanbooleanbooleanbooleanisModded()booleanbooleanprivate voidvoidpopulateCrashReport(CrashReportSection reportSection, HeightLimitView world)static LevelPropertiesreadProperties(com.mojang.serialization.Dynamic<NbtElement> dynamic, com.mojang.datafixers.DataFixer dataFixer, int dataVersion, @Nullable NbtCompound playerData, LevelInfo levelInfo, SaveVersionInfo saveVersionInfo, GeneratorOptions generatorOptions, com.mojang.serialization.Lifecycle lifecycle)voidsetClearWeatherTime(int clearWeatherTime)voidvoidsetDifficulty(Difficulty difficulty)voidsetDifficultyLocked(boolean locked)voidsetDragonFight(NbtCompound nbt)voidsetGameMode(GameMode gameMode)voidsetInitialized(boolean initialized)voidsetRaining(boolean raining)voidsetRainTime(int rainTime)voidsetSpawnAngle(float angle)voidsetSpawnPos(BlockPos pos, float angle)voidsetSpawnX(int spawnX)voidsetSpawnY(int spawnY)voidsetSpawnZ(int spawnZ)voidsetThundering(boolean thundering)voidsetThunderTime(int thunderTime)voidsetTime(long time)voidsetTimeOfDay(long timeOfDay)voidsetWanderingTraderId(UUID uuid)voidsetWanderingTraderSpawnChance(int wanderingTraderSpawnChance)voidsetWanderingTraderSpawnDelay(int wanderingTraderSpawnDelay)voidsetWorldBorder(WorldBorder.Properties properties)voidupdateLevelInfo(DataPackSettings dataPackSettings)private voidupdateProperties(DynamicRegistryManager registryManager, NbtCompound levelTag, @Nullable NbtCompound playerTag)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.SaveProperties
getFormatName, populateCrashReport
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official dLdhh;d:Lorg/apache/logging/log4j/Logger;intermediary field_25029Lnet/minecraft/class_31;field_25029:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/world/level/LevelProperties;LOGGER:Lorg/apache/logging/log4j/Logger;
-
WORLD_GEN_SETTINGS_KEY
- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official aLdhh;a:Ljava/lang/String;intermediary field_31843Lnet/minecraft/class_31;field_31843:Ljava/lang/String;named WORLD_GEN_SETTINGS_KEYLnet/minecraft/world/level/LevelProperties;WORLD_GEN_SETTINGS_KEY:Ljava/lang/String;
-
levelInfo
- Mappings:
Namespace Name Mixin selector official eLdhh;e:Lbwb;intermediary field_25030Lnet/minecraft/class_31;field_25030:Lnet/minecraft/class_1940;named levelInfoLnet/minecraft/world/level/LevelProperties;levelInfo:Lnet/minecraft/world/level/LevelInfo;
-
generatorOptions
- Mappings:
Namespace Name Mixin selector official fLdhh;f:Lcpm;intermediary field_25425Lnet/minecraft/class_31;field_25425:Lnet/minecraft/class_5285;named generatorOptionsLnet/minecraft/world/level/LevelProperties;generatorOptions:Lnet/minecraft/world/gen/GeneratorOptions;
-
lifecycle
private final com.mojang.serialization.Lifecycle lifecycle- Mappings:
Namespace Name Mixin selector official gLdhh;g:Lcom/mojang/serialization/Lifecycle;intermediary field_25426Lnet/minecraft/class_31;field_25426:Lcom/mojang/serialization/Lifecycle;named lifecycleLnet/minecraft/world/level/LevelProperties;lifecycle:Lcom/mojang/serialization/Lifecycle;
-
spawnX
private int spawnX- Mappings:
Namespace Name Mixin selector official hLdhh;h:Iintermediary field_151Lnet/minecraft/class_31;field_151:Inamed spawnXLnet/minecraft/world/level/LevelProperties;spawnX:I
-
spawnY
private int spawnY- Mappings:
Namespace Name Mixin selector official iLdhh;i:Iintermediary field_167Lnet/minecraft/class_31;field_167:Inamed spawnYLnet/minecraft/world/level/LevelProperties;spawnY:I
-
spawnZ
private int spawnZ- Mappings:
Namespace Name Mixin selector official jLdhh;j:Iintermediary field_182Lnet/minecraft/class_31;field_182:Inamed spawnZLnet/minecraft/world/level/LevelProperties;spawnZ:I
-
spawnAngle
private float spawnAngle- Mappings:
Namespace Name Mixin selector official kLdhh;k:Fintermediary field_26367Lnet/minecraft/class_31;field_26367:Fnamed spawnAngleLnet/minecraft/world/level/LevelProperties;spawnAngle:F
-
time
private long time- Mappings:
Namespace Name Mixin selector official lLdhh;l:Jintermediary field_189Lnet/minecraft/class_31;field_189:Jnamed timeLnet/minecraft/world/level/LevelProperties;time:J
-
timeOfDay
private long timeOfDay- Mappings:
Namespace Name Mixin selector official mLdhh;m:Jintermediary field_198Lnet/minecraft/class_31;field_198:Jnamed timeOfDayLnet/minecraft/world/level/LevelProperties;timeOfDay:J
-
dataFixer
- Mappings:
Namespace Name Mixin selector official nLdhh;n:Lcom/mojang/datafixers/DataFixer;intermediary field_184Lnet/minecraft/class_31;field_184:Lcom/mojang/datafixers/DataFixer;named dataFixerLnet/minecraft/world/level/LevelProperties;dataFixer:Lcom/mojang/datafixers/DataFixer;
-
dataVersion
private final int dataVersion- Mappings:
Namespace Name Mixin selector official oLdhh;o:Iintermediary field_196Lnet/minecraft/class_31;field_196:Inamed dataVersionLnet/minecraft/world/level/LevelProperties;dataVersion:I
-
playerDataLoaded
private boolean playerDataLoaded- Mappings:
Namespace Name Mixin selector official pLdhh;p:Zintermediary field_172Lnet/minecraft/class_31;field_172:Znamed playerDataLoadedLnet/minecraft/world/level/LevelProperties;playerDataLoaded:Z
-
playerData
- Mappings:
Namespace Name Mixin selector official qLdhh;q:Lmv;intermediary field_170Lnet/minecraft/class_31;field_170:Lnet/minecraft/class_2487;named playerDataLnet/minecraft/world/level/LevelProperties;playerData:Lnet/minecraft/nbt/NbtCompound;
-
version
private final int version- Mappings:
Namespace Name Mixin selector official rLdhh;r:Iintermediary field_158Lnet/minecraft/class_31;field_158:Inamed versionLnet/minecraft/world/level/LevelProperties;version:I
-
clearWeatherTime
private int clearWeatherTime- Mappings:
Namespace Name Mixin selector official sLdhh;s:Iintermediary field_176Lnet/minecraft/class_31;field_176:Inamed clearWeatherTimeLnet/minecraft/world/level/LevelProperties;clearWeatherTime:I
-
raining
private boolean raining- Mappings:
Namespace Name Mixin selector official tLdhh;t:Zintermediary field_190Lnet/minecraft/class_31;field_190:Znamed rainingLnet/minecraft/world/level/LevelProperties;raining:Z
-
rainTime
private int rainTime- Mappings:
Namespace Name Mixin selector official uLdhh;u:Iintermediary field_192Lnet/minecraft/class_31;field_192:Inamed rainTimeLnet/minecraft/world/level/LevelProperties;rainTime:I
-
thundering
private boolean thundering- Mappings:
Namespace Name Mixin selector official vLdhh;v:Zintermediary field_168Lnet/minecraft/class_31;field_168:Znamed thunderingLnet/minecraft/world/level/LevelProperties;thundering:Z
-
thunderTime
private int thunderTime- Mappings:
Namespace Name Mixin selector official wLdhh;w:Iintermediary field_173Lnet/minecraft/class_31;field_173:Inamed thunderTimeLnet/minecraft/world/level/LevelProperties;thunderTime:I
-
initialized
private boolean initialized- Mappings:
Namespace Name Mixin selector official xLdhh;x:Zintermediary field_185Lnet/minecraft/class_31;field_185:Znamed initializedLnet/minecraft/world/level/LevelProperties;initialized:Z
-
difficultyLocked
private boolean difficultyLocked- Mappings:
Namespace Name Mixin selector official yLdhh;y:Zintermediary field_157Lnet/minecraft/class_31;field_157:Znamed difficultyLockedLnet/minecraft/world/level/LevelProperties;difficultyLocked:Z
-
worldBorder
- Mappings:
Namespace Name Mixin selector official zLdhh;z:Lcln$c;intermediary field_24193Lnet/minecraft/class_31;field_24193:Lnet/minecraft/class_2784$class_5200;named worldBorderLnet/minecraft/world/level/LevelProperties;worldBorder:Lnet/minecraft/world/border/WorldBorder$Properties;
-
dragonFight
- Mappings:
Namespace Name Mixin selector official ALdhh;A:Lmv;intermediary field_25031Lnet/minecraft/class_31;field_25031:Lnet/minecraft/class_2487;named dragonFightLnet/minecraft/world/level/LevelProperties;dragonFight:Lnet/minecraft/nbt/NbtCompound;
-
customBossEvents
- Mappings:
Namespace Name Mixin selector official BLdhh;B:Lmv;intermediary field_156Lnet/minecraft/class_31;field_156:Lnet/minecraft/class_2487;named customBossEventsLnet/minecraft/world/level/LevelProperties;customBossEvents:Lnet/minecraft/nbt/NbtCompound;
-
wanderingTraderSpawnDelay
private int wanderingTraderSpawnDelay- Mappings:
Namespace Name Mixin selector official CLdhh;C:Iintermediary field_17736Lnet/minecraft/class_31;field_17736:Inamed wanderingTraderSpawnDelayLnet/minecraft/world/level/LevelProperties;wanderingTraderSpawnDelay:I
-
wanderingTraderSpawnChance
private int wanderingTraderSpawnChance- Mappings:
Namespace Name Mixin selector official DLdhh;D:Iintermediary field_17737Lnet/minecraft/class_31;field_17737:Inamed wanderingTraderSpawnChanceLnet/minecraft/world/level/LevelProperties;wanderingTraderSpawnChance:I
-
wanderingTraderId
- Mappings:
Namespace Name Mixin selector official ELdhh;E:Ljava/util/UUID;intermediary field_17738Lnet/minecraft/class_31;field_17738:Ljava/util/UUID;named wanderingTraderIdLnet/minecraft/world/level/LevelProperties;wanderingTraderId:Ljava/util/UUID;
-
serverBrands
- Mappings:
Namespace Name Mixin selector official FLdhh;F:Ljava/util/Set;intermediary field_21837Lnet/minecraft/class_31;field_21837:Ljava/util/Set;named serverBrandsLnet/minecraft/world/level/LevelProperties;serverBrands:Ljava/util/Set;
-
modded
private boolean modded- Mappings:
Namespace Name Mixin selector official GLdhh;G:Zintermediary field_21838Lnet/minecraft/class_31;field_21838:Znamed moddedLnet/minecraft/world/level/LevelProperties;modded:Z
-
scheduledEvents
- Mappings:
Namespace Name Mixin selector official HLdhh;H:Ldlt;intermediary field_191Lnet/minecraft/class_31;field_191:Lnet/minecraft/class_236;named scheduledEventsLnet/minecraft/world/level/LevelProperties;scheduledEvents:Lnet/minecraft/world/timer/Timer;
-
-
Constructor Details
-
LevelProperties
private LevelProperties(@Nullable @Nullable com.mojang.datafixers.DataFixer dataFixer, int dataVersion, @Nullable @Nullable NbtCompound playerData, boolean modded, int spawnX, int spawnY, int spawnZ, float spawnAngle, long time, long timeOfDay, int version, int clearWeatherTime, int rainTime, boolean raining, int thunderTime, boolean thundering, boolean initialized, boolean difficultyLocked, WorldBorder.Properties worldBorder, int wanderingTraderSpawnDelay, int wanderingTraderSpawnChance, @Nullable @Nullable UUID wanderingTraderId, Set<String> serverBrands, Timer<MinecraftServer> scheduledEvents, @Nullable @Nullable NbtCompound customBossEvents, NbtCompound dragonFight, LevelInfo levelInfo, GeneratorOptions generatorOptions, com.mojang.serialization.Lifecycle lifecycle)- Mappings:
Namespace Name Mixin selector official <init>Ldhh;<init>(Lcom/mojang/datafixers/DataFixer;ILmv;ZIIIFJJIIIZIZZZLcln$c;IILjava/util/UUID;Ljava/util/Set;Ldlt;Lmv;Lmv;Lbwb;Lcpm;Lcom/mojang/serialization/Lifecycle;)Vintermediary <init>Lnet/minecraft/class_31;<init>(Lcom/mojang/datafixers/DataFixer;ILnet/minecraft/class_2487;ZIIIFJJIIIZIZZZLnet/minecraft/class_2784$class_5200;IILjava/util/UUID;Ljava/util/Set;Lnet/minecraft/class_236;Lnet/minecraft/class_2487;Lnet/minecraft/class_2487;Lnet/minecraft/class_1940;Lnet/minecraft/class_5285;Lcom/mojang/serialization/Lifecycle;)Vnamed <init>Lnet/minecraft/world/level/LevelProperties;<init>(Lcom/mojang/datafixers/DataFixer;ILnet/minecraft/nbt/NbtCompound;ZIIIFJJIIIZIZZZLnet/minecraft/world/border/WorldBorder$Properties;IILjava/util/UUID;Ljava/util/Set;Lnet/minecraft/world/timer/Timer;Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/world/level/LevelInfo;Lnet/minecraft/world/gen/GeneratorOptions;Lcom/mojang/serialization/Lifecycle;)V
-
LevelProperties
public LevelProperties(LevelInfo levelInfo, GeneratorOptions generatorOptions, com.mojang.serialization.Lifecycle lifecycle)- Mappings:
Namespace Name Mixin selector official <init>Ldhh;<init>(Lbwb;Lcpm;Lcom/mojang/serialization/Lifecycle;)Vintermediary <init>Lnet/minecraft/class_31;<init>(Lnet/minecraft/class_1940;Lnet/minecraft/class_5285;Lcom/mojang/serialization/Lifecycle;)Vnamed <init>Lnet/minecraft/world/level/LevelProperties;<init>(Lnet/minecraft/world/level/LevelInfo;Lnet/minecraft/world/gen/GeneratorOptions;Lcom/mojang/serialization/Lifecycle;)V
-
-
Method Details
-
readProperties
public static LevelProperties readProperties(com.mojang.serialization.Dynamic<NbtElement> dynamic, com.mojang.datafixers.DataFixer dataFixer, int dataVersion, @Nullable @Nullable NbtCompound playerData, LevelInfo levelInfo, SaveVersionInfo saveVersionInfo, GeneratorOptions generatorOptions, com.mojang.serialization.Lifecycle lifecycle)- Mappings:
Namespace Name Mixin selector official aLdhh;a(Lcom/mojang/serialization/Dynamic;Lcom/mojang/datafixers/DataFixer;ILmv;Lbwb;Ldhe;Lcpm;Lcom/mojang/serialization/Lifecycle;)Ldhh;intermediary method_29029Lnet/minecraft/class_31;method_29029(Lcom/mojang/serialization/Dynamic;Lcom/mojang/datafixers/DataFixer;ILnet/minecraft/class_2487;Lnet/minecraft/class_1940;Lnet/minecraft/class_5315;Lnet/minecraft/class_5285;Lcom/mojang/serialization/Lifecycle;)Lnet/minecraft/class_31;named readPropertiesLnet/minecraft/world/level/LevelProperties;readProperties(Lcom/mojang/serialization/Dynamic;Lcom/mojang/datafixers/DataFixer;ILnet/minecraft/nbt/NbtCompound;Lnet/minecraft/world/level/LevelInfo;Lnet/minecraft/world/level/storage/SaveVersionInfo;Lnet/minecraft/world/gen/GeneratorOptions;Lcom/mojang/serialization/Lifecycle;)Lnet/minecraft/world/level/LevelProperties;
-
cloneWorldNbt
public NbtCompound cloneWorldNbt(DynamicRegistryManager registryManager, @Nullable @Nullable NbtCompound playerNbt)- Specified by:
cloneWorldNbtin interfaceSaveProperties- Mappings:
Namespace Name Mixin selector official aLdhj;a(Lgs;Lmv;)Lmv;intermediary method_163Lnet/minecraft/class_5219;method_163(Lnet/minecraft/class_5455;Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;named cloneWorldNbtLnet/minecraft/world/SaveProperties;cloneWorldNbt(Lnet/minecraft/util/registry/DynamicRegistryManager;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
-
updateProperties
private void updateProperties(DynamicRegistryManager registryManager, NbtCompound levelTag, @Nullable @Nullable NbtCompound playerTag)- Mappings:
Namespace Name Mixin selector official aLdhh;a(Lgs;Lmv;Lmv;)Vintermediary method_158Lnet/minecraft/class_31;method_158(Lnet/minecraft/class_5455;Lnet/minecraft/class_2487;Lnet/minecraft/class_2487;)Vnamed updatePropertiesLnet/minecraft/world/level/LevelProperties;updateProperties(Lnet/minecraft/util/registry/DynamicRegistryManager;Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/nbt/NbtCompound;)V
-
getSpawnX
public int getSpawnX()- Specified by:
getSpawnXin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector official aLdgz;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 bLdgz;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 cLdgz;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 dLdgz;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 eLdgz;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 fLdgz;f()Jintermediary method_217Lnet/minecraft/class_5217;method_217()Jnamed getTimeOfDayLnet/minecraft/world/WorldProperties;getTimeOfDay()J
-
loadPlayerData
private void loadPlayerData()- Mappings:
Namespace Name Mixin selector official JLdhh;J()Vintermediary method_185Lnet/minecraft/class_31;method_185()Vnamed loadPlayerDataLnet/minecraft/world/level/LevelProperties;loadPlayerData()V
-
getPlayerData
- Specified by:
getPlayerDatain interfaceSaveProperties- Mappings:
Namespace Name Mixin selector official yLdhj;y()Lmv;intermediary method_226Lnet/minecraft/class_5219;method_226()Lnet/minecraft/class_2487;named getPlayerDataLnet/minecraft/world/SaveProperties;getPlayerData()Lnet/minecraft/nbt/NbtCompound;
-
setSpawnX
public void setSpawnX(int spawnX)- Specified by:
setSpawnXin interfaceMutableWorldProperties- Mappings:
Namespace Name Mixin selector official bLdhk;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 cLdhk;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 dLdhk;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)- Specified by:
setSpawnAnglein interfaceMutableWorldProperties- Mappings:
Namespace Name Mixin selector official aLdhk;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)- Specified by:
setTimein interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector official aLdhi;a(J)Vintermediary method_29034Lnet/minecraft/class_5268;method_29034(J)Vnamed setTimeLnet/minecraft/world/level/ServerWorldProperties;setTime(J)V
-
setTimeOfDay
public void setTimeOfDay(long timeOfDay)- Specified by:
setTimeOfDayin interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector official bLdhi;b(J)Vintermediary method_29035Lnet/minecraft/class_5268;method_29035(J)Vnamed setTimeOfDayLnet/minecraft/world/level/ServerWorldProperties;setTimeOfDay(J)V
-
setSpawnPos
- Specified by:
setSpawnPosin interfaceMutableWorldProperties- Mappings:
Namespace Name Mixin selector official aLdhk;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
-
getLevelName
- Specified by:
getLevelNamein interfaceSaveProperties- Specified by:
getLevelNamein interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector official gLdhi;g()Ljava/lang/String;intermediary method_150Lnet/minecraft/class_5268;method_150()Ljava/lang/String;named getLevelNameLnet/minecraft/world/level/ServerWorldProperties;getLevelName()Ljava/lang/String;
-
getVersion
public int getVersion()- Specified by:
getVersionin interfaceSaveProperties- Mappings:
Namespace Name Mixin selector official zLdhj;z()Iintermediary method_168Lnet/minecraft/class_5219;method_168()Inamed getVersionLnet/minecraft/world/SaveProperties;getVersion()I
-
getClearWeatherTime
public int getClearWeatherTime()- Specified by:
getClearWeatherTimein interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector official hLdhi;h()Iintermediary method_155Lnet/minecraft/class_5268;method_155()Inamed getClearWeatherTimeLnet/minecraft/world/level/ServerWorldProperties;getClearWeatherTime()I
-
setClearWeatherTime
public void setClearWeatherTime(int clearWeatherTime)- Specified by:
setClearWeatherTimein interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector official aLdhi;a(I)Vintermediary method_167Lnet/minecraft/class_5268;method_167(I)Vnamed setClearWeatherTimeLnet/minecraft/world/level/ServerWorldProperties;setClearWeatherTime(I)V
-
isThundering
public boolean isThundering()- Specified by:
isThunderingin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector official iLdgz;i()Zintermediary method_203Lnet/minecraft/class_5217;method_203()Znamed isThunderingLnet/minecraft/world/WorldProperties;isThundering()Z
-
setThundering
public void setThundering(boolean thundering)- Specified by:
setThunderingin interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector official aLdhi;a(Z)Vintermediary method_147Lnet/minecraft/class_5268;method_147(Z)Vnamed setThunderingLnet/minecraft/world/level/ServerWorldProperties;setThundering(Z)V
-
getThunderTime
public int getThunderTime()- Specified by:
getThunderTimein interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector official jLdhi;j()Iintermediary method_145Lnet/minecraft/class_5268;method_145()Inamed getThunderTimeLnet/minecraft/world/level/ServerWorldProperties;getThunderTime()I
-
setThunderTime
public void setThunderTime(int thunderTime)- Specified by:
setThunderTimein interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector official eLdhi;e(I)Vintermediary method_173Lnet/minecraft/class_5268;method_173(I)Vnamed setThunderTimeLnet/minecraft/world/level/ServerWorldProperties;setThunderTime(I)V
-
isRaining
public boolean isRaining()- Specified by:
isRainingin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector official kLdgz;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 bLdgz;b(Z)Vintermediary method_157Lnet/minecraft/class_5217;method_157(Z)Vnamed setRainingLnet/minecraft/world/WorldProperties;setRaining(Z)V
-
getRainTime
public int getRainTime()- Specified by:
getRainTimein interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector official lLdhi;l()Iintermediary method_190Lnet/minecraft/class_5268;method_190()Inamed getRainTimeLnet/minecraft/world/level/ServerWorldProperties;getRainTime()I
-
setRainTime
public void setRainTime(int rainTime)- Specified by:
setRainTimein interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector official fLdhi;f(I)Vintermediary method_164Lnet/minecraft/class_5268;method_164(I)Vnamed setRainTimeLnet/minecraft/world/level/ServerWorldProperties;setRainTime(I)V
-
getGameMode
- Specified by:
getGameModein interfaceSaveProperties- Specified by:
getGameModein interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector official mLdhi;m()Lbvu;intermediary method_210Lnet/minecraft/class_5268;method_210()Lnet/minecraft/class_1934;named getGameModeLnet/minecraft/world/level/ServerWorldProperties;getGameMode()Lnet/minecraft/world/GameMode;
-
setGameMode
- Specified by:
setGameModein interfaceSaveProperties- Specified by:
setGameModein interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector official aLdhi;a(Lbvu;)Vintermediary method_193Lnet/minecraft/class_5268;method_193(Lnet/minecraft/class_1934;)Vnamed setGameModeLnet/minecraft/world/level/ServerWorldProperties;setGameMode(Lnet/minecraft/world/GameMode;)V
-
isHardcore
public boolean isHardcore()- Specified by:
isHardcorein interfaceSaveProperties- Specified by:
isHardcorein interfaceWorldProperties- Mappings:
Namespace Name Mixin selector official nLdgz;n()Zintermediary method_152Lnet/minecraft/class_5217;method_152()Znamed isHardcoreLnet/minecraft/world/WorldProperties;isHardcore()Z
-
areCommandsAllowed
public boolean areCommandsAllowed()- Specified by:
areCommandsAllowedin interfaceSaveProperties- Specified by:
areCommandsAllowedin interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector official oLdhi;o()Zintermediary method_194Lnet/minecraft/class_5268;method_194()Znamed areCommandsAllowedLnet/minecraft/world/level/ServerWorldProperties;areCommandsAllowed()Z
-
isInitialized
public boolean isInitialized()- Specified by:
isInitializedin interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector official pLdhi;p()Zintermediary method_222Lnet/minecraft/class_5268;method_222()Znamed isInitializedLnet/minecraft/world/level/ServerWorldProperties;isInitialized()Z
-
setInitialized
public void setInitialized(boolean initialized)- Specified by:
setInitializedin interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector official cLdhi;c(Z)Vintermediary method_223Lnet/minecraft/class_5268;method_223(Z)Vnamed setInitializedLnet/minecraft/world/level/ServerWorldProperties;setInitialized(Z)V
-
getGameRules
- Specified by:
getGameRulesin interfaceSaveProperties- Specified by:
getGameRulesin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector official qLdgz;q()Lbvt;intermediary method_146Lnet/minecraft/class_5217;method_146()Lnet/minecraft/class_1928;named getGameRulesLnet/minecraft/world/WorldProperties;getGameRules()Lnet/minecraft/world/GameRules;
-
getWorldBorder
- Specified by:
getWorldBorderin interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector official rLdhi;r()Lcln$c;intermediary method_27422Lnet/minecraft/class_5268;method_27422()Lnet/minecraft/class_2784$class_5200;named getWorldBorderLnet/minecraft/world/level/ServerWorldProperties;getWorldBorder()Lnet/minecraft/world/border/WorldBorder$Properties;
-
setWorldBorder
- Specified by:
setWorldBorderin interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector official aLdhi;a(Lcln$c;)Vintermediary method_27415Lnet/minecraft/class_5268;method_27415(Lnet/minecraft/class_2784$class_5200;)Vnamed setWorldBorderLnet/minecraft/world/level/ServerWorldProperties;setWorldBorder(Lnet/minecraft/world/border/WorldBorder$Properties;)V
-
getDifficulty
- Specified by:
getDifficultyin interfaceSaveProperties- Specified by:
getDifficultyin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector official sLdgz;s()Larg;intermediary method_207Lnet/minecraft/class_5217;method_207()Lnet/minecraft/class_1267;named getDifficultyLnet/minecraft/world/WorldProperties;getDifficulty()Lnet/minecraft/world/Difficulty;
-
setDifficulty
- Specified by:
setDifficultyin interfaceSaveProperties- Mappings:
Namespace Name Mixin selector official aLdhj;a(Larg;)Vintermediary method_208Lnet/minecraft/class_5219;method_208(Lnet/minecraft/class_1267;)Vnamed setDifficultyLnet/minecraft/world/SaveProperties;setDifficulty(Lnet/minecraft/world/Difficulty;)V
-
isDifficultyLocked
public boolean isDifficultyLocked()- Specified by:
isDifficultyLockedin interfaceSaveProperties- Specified by:
isDifficultyLockedin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector official tLdgz;t()Zintermediary method_197Lnet/minecraft/class_5217;method_197()Znamed isDifficultyLockedLnet/minecraft/world/WorldProperties;isDifficultyLocked()Z
-
setDifficultyLocked
public void setDifficultyLocked(boolean locked)- Specified by:
setDifficultyLockedin interfaceSaveProperties- Mappings:
Namespace Name Mixin selector official dLdhj;d(Z)Vintermediary method_186Lnet/minecraft/class_5219;method_186(Z)Vnamed setDifficultyLockedLnet/minecraft/world/SaveProperties;setDifficultyLocked(Z)V
-
getScheduledEvents
- Specified by:
getScheduledEventsin interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector official uLdhi;u()Ldlt;intermediary method_143Lnet/minecraft/class_5268;method_143()Lnet/minecraft/class_236;named getScheduledEventsLnet/minecraft/world/level/ServerWorldProperties;getScheduledEvents()Lnet/minecraft/world/timer/Timer;
-
populateCrashReport
- Specified by:
populateCrashReportin interfaceServerWorldProperties- Specified by:
populateCrashReportin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector official aLdgz;a(Lr;Lbvz;)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
-
getGeneratorOptions
- Specified by:
getGeneratorOptionsin interfaceSaveProperties- Mappings:
Namespace Name Mixin selector official ALdhj;A()Lcpm;intermediary method_28057Lnet/minecraft/class_5219;method_28057()Lnet/minecraft/class_5285;named getGeneratorOptionsLnet/minecraft/world/SaveProperties;getGeneratorOptions()Lnet/minecraft/world/gen/GeneratorOptions;
-
getLifecycle
public com.mojang.serialization.Lifecycle getLifecycle()- Specified by:
getLifecyclein interfaceSaveProperties- Mappings:
Namespace Name Mixin selector official BLdhj;B()Lcom/mojang/serialization/Lifecycle;intermediary method_29588Lnet/minecraft/class_5219;method_29588()Lcom/mojang/serialization/Lifecycle;named getLifecycleLnet/minecraft/world/SaveProperties;getLifecycle()Lcom/mojang/serialization/Lifecycle;
-
getDragonFight
- Specified by:
getDragonFightin interfaceSaveProperties- Mappings:
Namespace Name Mixin selector official CLdhj;C()Lmv;intermediary method_29036Lnet/minecraft/class_5219;method_29036()Lnet/minecraft/class_2487;named getDragonFightLnet/minecraft/world/SaveProperties;getDragonFight()Lnet/minecraft/nbt/NbtCompound;
-
setDragonFight
- Specified by:
setDragonFightin interfaceSaveProperties- Mappings:
Namespace Name Mixin selector official aLdhj;a(Lmv;)Vintermediary method_29037Lnet/minecraft/class_5219;method_29037(Lnet/minecraft/class_2487;)Vnamed setDragonFightLnet/minecraft/world/SaveProperties;setDragonFight(Lnet/minecraft/nbt/NbtCompound;)V
-
getDataPackSettings
- Specified by:
getDataPackSettingsin interfaceSaveProperties- Mappings:
Namespace Name Mixin selector official DLdhj;D()Lbvk;intermediary method_29589Lnet/minecraft/class_5219;method_29589()Lnet/minecraft/class_5359;named getDataPackSettingsLnet/minecraft/world/SaveProperties;getDataPackSettings()Lnet/minecraft/resource/DataPackSettings;
-
updateLevelInfo
- Specified by:
updateLevelInfoin interfaceSaveProperties- Mappings:
Namespace Name Mixin selector official aLdhj;a(Lbvk;)Vintermediary method_29590Lnet/minecraft/class_5219;method_29590(Lnet/minecraft/class_5359;)Vnamed updateLevelInfoLnet/minecraft/world/SaveProperties;updateLevelInfo(Lnet/minecraft/resource/DataPackSettings;)V
-
getCustomBossEvents
- Specified by:
getCustomBossEventsin interfaceSaveProperties- Mappings:
Namespace Name Mixin selector official ELdhj;E()Lmv;intermediary method_228Lnet/minecraft/class_5219;method_228()Lnet/minecraft/class_2487;named getCustomBossEventsLnet/minecraft/world/SaveProperties;getCustomBossEvents()Lnet/minecraft/nbt/NbtCompound;
-
setCustomBossEvents
- Specified by:
setCustomBossEventsin interfaceSaveProperties- Mappings:
Namespace Name Mixin selector official bLdhj;b(Lmv;)Vintermediary method_221Lnet/minecraft/class_5219;method_221(Lnet/minecraft/class_2487;)Vnamed setCustomBossEventsLnet/minecraft/world/SaveProperties;setCustomBossEvents(Lnet/minecraft/nbt/NbtCompound;)V
-
getWanderingTraderSpawnDelay
public int getWanderingTraderSpawnDelay()- Specified by:
getWanderingTraderSpawnDelayin interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector official vLdhi;v()Iintermediary method_18038Lnet/minecraft/class_5268;method_18038()Inamed getWanderingTraderSpawnDelayLnet/minecraft/world/level/ServerWorldProperties;getWanderingTraderSpawnDelay()I
-
setWanderingTraderSpawnDelay
public void setWanderingTraderSpawnDelay(int wanderingTraderSpawnDelay)- Specified by:
setWanderingTraderSpawnDelayin interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector official gLdhi;g(I)Vintermediary method_18041Lnet/minecraft/class_5268;method_18041(I)Vnamed setWanderingTraderSpawnDelayLnet/minecraft/world/level/ServerWorldProperties;setWanderingTraderSpawnDelay(I)V
-
getWanderingTraderSpawnChance
public int getWanderingTraderSpawnChance()- Specified by:
getWanderingTraderSpawnChancein interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector official wLdhi;w()Iintermediary method_18039Lnet/minecraft/class_5268;method_18039()Inamed getWanderingTraderSpawnChanceLnet/minecraft/world/level/ServerWorldProperties;getWanderingTraderSpawnChance()I
-
setWanderingTraderSpawnChance
public void setWanderingTraderSpawnChance(int wanderingTraderSpawnChance)- Specified by:
setWanderingTraderSpawnChancein interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector official hLdhi;h(I)Vintermediary method_18042Lnet/minecraft/class_5268;method_18042(I)Vnamed setWanderingTraderSpawnChanceLnet/minecraft/world/level/ServerWorldProperties;setWanderingTraderSpawnChance(I)V
-
getWanderingTraderId
- Specified by:
getWanderingTraderIdin interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector official xLdhi;x()Ljava/util/UUID;intermediary method_35506Lnet/minecraft/class_5268;method_35506()Ljava/util/UUID;named getWanderingTraderIdLnet/minecraft/world/level/ServerWorldProperties;getWanderingTraderId()Ljava/util/UUID;
-
setWanderingTraderId
- Specified by:
setWanderingTraderIdin interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector official aLdhi;a(Ljava/util/UUID;)Vintermediary method_18040Lnet/minecraft/class_5268;method_18040(Ljava/util/UUID;)Vnamed setWanderingTraderIdLnet/minecraft/world/level/ServerWorldProperties;setWanderingTraderId(Ljava/util/UUID;)V
-
addServerBrand
- Specified by:
addServerBrandin interfaceSaveProperties- Mappings:
Namespace Name Mixin selector official aLdhj;a(Ljava/lang/String;Z)Vintermediary method_24285Lnet/minecraft/class_5219;method_24285(Ljava/lang/String;Z)Vnamed addServerBrandLnet/minecraft/world/SaveProperties;addServerBrand(Ljava/lang/String;Z)V
-
isModded
public boolean isModded()- Specified by:
isModdedin interfaceSaveProperties- Mappings:
Namespace Name Mixin selector official FLdhj;F()Zintermediary method_27431Lnet/minecraft/class_5219;method_27431()Znamed isModdedLnet/minecraft/world/SaveProperties;isModded()Z
-
getServerBrands
- Specified by:
getServerBrandsin interfaceSaveProperties- Mappings:
Namespace Name Mixin selector official GLdhj;G()Ljava/util/Set;intermediary method_27432Lnet/minecraft/class_5219;method_27432()Ljava/util/Set;named getServerBrandsLnet/minecraft/world/SaveProperties;getServerBrands()Ljava/util/Set;
-
getMainWorldProperties
- Specified by:
getMainWorldPropertiesin interfaceSaveProperties- Mappings:
Namespace Name Mixin selector official HLdhj;H()Ldhi;intermediary method_27859Lnet/minecraft/class_5219;method_27859()Lnet/minecraft/class_5268;named getMainWorldPropertiesLnet/minecraft/world/SaveProperties;getMainWorldProperties()Lnet/minecraft/world/level/ServerWorldProperties;
-
getLevelInfo
- Specified by:
getLevelInfoin interfaceSaveProperties- Mappings:
Namespace Name Mixin selector official ILdhj;I()Lbwb;intermediary method_27433Lnet/minecraft/class_5219;method_27433()Lnet/minecraft/class_1940;named getLevelInfoLnet/minecraft/world/SaveProperties;getLevelInfo()Lnet/minecraft/world/level/LevelInfo;
-