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 dyzintermediary net/minecraft/class_31named net/minecraft/world/level/LevelProperties
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate @Nullable NbtCompoundprivate final @Nullable com.mojang.datafixers.DataFixerprivate final intprivate booleanprivate NbtCompoundprivate final GeneratorOptionsprivate booleanprivate LevelInfoprivate final com.mojang.serialization.Lifecycleprivate static final Loggerprivate booleanprotected static final Stringprivate @Nullable NbtCompoundprivate booleanprivate booleanprivate intprivate final Timer<MinecraftServer>private floatprivate intprivate intprivate intprivate final LevelProperties.SpecialPropertyprivate booleanprivate intprivate longprivate longprivate final intprivate intprivate intprotected static final 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, Set<String> removedFeatures, Timer<MinecraftServer> scheduledEvents, @Nullable NbtCompound customBossEvents, NbtCompound dragonFight, LevelInfo levelInfo, GeneratorOptions generatorOptions, LevelProperties.SpecialProperty specialProperty, com.mojang.serialization.Lifecycle lifecycle) LevelProperties(LevelInfo levelInfo, GeneratorOptions generatorOptions, LevelProperties.SpecialProperty specialProperty, com.mojang.serialization.Lifecycle lifecycle) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddServerBrand(String brand, boolean modded) booleancloneWorldNbt(DynamicRegistryManager registryManager, @Nullable NbtCompound playerNbt) private static NbtListcreateStringList(Set<String> strings) intcom.mojang.serialization.LifecycleintfloatintintintintlonggetTime()longintintintbooleanbooleanbooleanbooleanbooleanbooleanisModded()booleanbooleanprivate voidvoidpopulateCrashReport(CrashReportSection reportSection, HeightLimitView world) static <T> LevelPropertiesreadProperties(com.mojang.serialization.Dynamic<T> dynamic, com.mojang.datafixers.DataFixer dataFixer, int dataVersion, @Nullable NbtCompound playerData, LevelInfo levelInfo, SaveVersionInfo saveVersionInfo, LevelProperties.SpecialProperty specialProperty, GeneratorOptions generatorOptions, com.mojang.serialization.Lifecycle lifecycle) voidsetClearWeatherTime(int clearWeatherTime) voidsetCustomBossEvents(@Nullable NbtCompound customBossEvents) voidsetDifficulty(Difficulty difficulty) voidsetDifficultyLocked(boolean difficultyLocked) voidsetDragonFight(NbtCompound dragonFight) voidsetGameMode(GameMode gameMode) voidsetInitialized(boolean initialized) voidsetRaining(boolean raining) voidsetRainTime(int rainTime) voidsetSpawnAngle(float spawnAngle) 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 wanderingTraderId) voidsetWanderingTraderSpawnChance(int wanderingTraderSpawnChance) voidsetWanderingTraderSpawnDelay(int wanderingTraderSpawnDelay) voidsetWorldBorder(WorldBorder.Properties worldBorder) voidupdateLevelInfo(DataConfiguration dataConfiguration) private voidupdateProperties(DynamicRegistryManager registryManager, NbtCompound levelNbt, @Nullable NbtCompound playerNbt) 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
getEnabledFeatures, getFormatName, populateCrashReport
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official eLdyz;e:Lorg/slf4j/Logger;intermediary field_25029Lnet/minecraft/class_31;field_25029:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/world/level/LevelProperties;LOGGER:Lorg/slf4j/Logger;
-
PLAYER_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official aLdyz;a:Ljava/lang/String;intermediary field_36349Lnet/minecraft/class_31;field_36349:Ljava/lang/String;named PLAYER_KEYLnet/minecraft/world/level/LevelProperties;PLAYER_KEY:Ljava/lang/String;
-
WORLD_GEN_SETTINGS_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official bLdyz;b: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 fLdyz;f:Lcmo;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 gLdyz;g:Ldif;intermediary field_25425Lnet/minecraft/class_31;field_25425:Lnet/minecraft/class_5285;named generatorOptionsLnet/minecraft/world/level/LevelProperties;generatorOptions:Lnet/minecraft/world/gen/GeneratorOptions;
-
specialProperty
- Mappings:
Namespace Name Mixin selector official hLdyz;h:Ldyz$a;intermediary field_40372Lnet/minecraft/class_31;field_40372:Lnet/minecraft/class_31$class_7729;named specialPropertyLnet/minecraft/world/level/LevelProperties;specialProperty:Lnet/minecraft/world/level/LevelProperties$SpecialProperty;
-
lifecycle
private final com.mojang.serialization.Lifecycle lifecycle- Mappings:
Namespace Name Mixin selector official iLdyz;i: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 jLdyz;j: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 kLdyz;k: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 lLdyz;l: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 mLdyz;m: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 nLdyz;n: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 oLdyz;o:Jintermediary field_198Lnet/minecraft/class_31;field_198:Jnamed timeOfDayLnet/minecraft/world/level/LevelProperties;timeOfDay:J
-
dataFixer
- Mappings:
Namespace Name Mixin selector official pLdyz;p: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 qLdyz;q: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 rLdyz;r:Zintermediary field_172Lnet/minecraft/class_31;field_172:Znamed playerDataLoadedLnet/minecraft/world/level/LevelProperties;playerDataLoaded:Z
-
playerData
- Mappings:
Namespace Name Mixin selector official sLdyz;s:Lqr;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 tLdyz;t: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 uLdyz;u: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 vLdyz;v: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 wLdyz;w: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 xLdyz;x: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 yLdyz;y: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 zLdyz;z: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 ALdyz;A:Zintermediary field_157Lnet/minecraft/class_31;field_157:Znamed difficultyLockedLnet/minecraft/world/level/LevelProperties;difficultyLocked:Z
-
worldBorder
- Mappings:
Namespace Name Mixin selector official BLdyz;B:Lddp$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 CLdyz;C:Lqr;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 DLdyz;D:Lqr;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 ELdyz;E: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 FLdyz;F:Iintermediary field_17737Lnet/minecraft/class_31;field_17737:Inamed wanderingTraderSpawnChanceLnet/minecraft/world/level/LevelProperties;wanderingTraderSpawnChance:I
-
wanderingTraderId
- Mappings:
Namespace Name Mixin selector official GLdyz;G: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 HLdyz;H: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 ILdyz;I:Zintermediary field_21838Lnet/minecraft/class_31;field_21838:Znamed moddedLnet/minecraft/world/level/LevelProperties;modded:Z
-
removedFeatures
- Mappings:
Namespace Name Mixin selector official JLdyz;J:Ljava/util/Set;intermediary field_43352Lnet/minecraft/class_31;field_43352:Ljava/util/Set;named removedFeaturesLnet/minecraft/world/level/LevelProperties;removedFeatures:Ljava/util/Set;
-
scheduledEvents
- Mappings:
Namespace Name Mixin selector official KLdyz;K:Leds;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, Set<String> removedFeatures, Timer<MinecraftServer> scheduledEvents, @Nullable @Nullable NbtCompound customBossEvents, NbtCompound dragonFight, LevelInfo levelInfo, GeneratorOptions generatorOptions, LevelProperties.SpecialProperty specialProperty, com.mojang.serialization.Lifecycle lifecycle) - Mappings:
Namespace Name Mixin selector official <init>Ldyz;<init>(Lcom/mojang/datafixers/DataFixer;ILqr;ZIIIFJJIIIZIZZZLddp$c;IILjava/util/UUID;Ljava/util/Set;Ljava/util/Set;Leds;Lqr;Lqr;Lcmo;Ldif;Ldyz$a;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;Ljava/util/Set;Lnet/minecraft/class_236;Lnet/minecraft/class_2487;Lnet/minecraft/class_2487;Lnet/minecraft/class_1940;Lnet/minecraft/class_5285;Lnet/minecraft/class_31$class_7729;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;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;Lnet/minecraft/world/level/LevelProperties$SpecialProperty;Lcom/mojang/serialization/Lifecycle;)V
-
LevelProperties
public LevelProperties(LevelInfo levelInfo, GeneratorOptions generatorOptions, LevelProperties.SpecialProperty specialProperty, com.mojang.serialization.Lifecycle lifecycle) - Mappings:
Namespace Name Mixin selector official <init>Ldyz;<init>(Lcmo;Ldif;Ldyz$a;Lcom/mojang/serialization/Lifecycle;)Vintermediary <init>Lnet/minecraft/class_31;<init>(Lnet/minecraft/class_1940;Lnet/minecraft/class_5285;Lnet/minecraft/class_31$class_7729;Lcom/mojang/serialization/Lifecycle;)Vnamed <init>Lnet/minecraft/world/level/LevelProperties;<init>(Lnet/minecraft/world/level/LevelInfo;Lnet/minecraft/world/gen/GeneratorOptions;Lnet/minecraft/world/level/LevelProperties$SpecialProperty;Lcom/mojang/serialization/Lifecycle;)V
-
-
Method Details
-
readProperties
public static <T> LevelProperties readProperties(com.mojang.serialization.Dynamic<T> dynamic, com.mojang.datafixers.DataFixer dataFixer, int dataVersion, @Nullable @Nullable NbtCompound playerData, LevelInfo levelInfo, SaveVersionInfo saveVersionInfo, LevelProperties.SpecialProperty specialProperty, GeneratorOptions generatorOptions, com.mojang.serialization.Lifecycle lifecycle) - Mappings:
Namespace Name Mixin selector official aLdyz;a(Lcom/mojang/serialization/Dynamic;Lcom/mojang/datafixers/DataFixer;ILqr;Lcmo;Ldyx;Ldyz$a;Ldif;Lcom/mojang/serialization/Lifecycle;)Ldyz;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_31$class_7729;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/level/LevelProperties$SpecialProperty;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 aLdzb;a(Lhs;Lqr;)Lqr;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/registry/DynamicRegistryManager;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
-
updateProperties
private void updateProperties(DynamicRegistryManager registryManager, NbtCompound levelNbt, @Nullable @Nullable NbtCompound playerNbt) - Mappings:
Namespace Name Mixin selector official aLdyz;a(Lhs;Lqr;Lqr;)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/registry/DynamicRegistryManager;Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/nbt/NbtCompound;)V
-
createStringList
- Mappings:
Namespace Name Mixin selector official aLdyz;a(Ljava/util/Set;)Lqx;intermediary method_49902Lnet/minecraft/class_31;method_49902(Ljava/util/Set;)Lnet/minecraft/class_2499;named createStringListLnet/minecraft/world/level/LevelProperties;createStringList(Ljava/util/Set;)Lnet/minecraft/nbt/NbtList;
-
getSpawnX
public int getSpawnX()- Specified by:
getSpawnXin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector official aLdys;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 bLdys;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 cLdys;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 dLdys;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 eLdys;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 fLdys;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 NLdyz;N()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 yLdzb;y()Lqr;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 bLdzc;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 cLdzc;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 dLdzc;d(I)Vintermediary method_27419Lnet/minecraft/class_5269;method_27419(I)Vnamed setSpawnZLnet/minecraft/world/MutableWorldProperties;setSpawnZ(I)V
-
setSpawnAngle
public void setSpawnAngle(float spawnAngle) - Specified by:
setSpawnAnglein interfaceMutableWorldProperties- Mappings:
Namespace Name Mixin selector official aLdzc;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 aLdza;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 bLdza;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 aLdzc;a(Lgu;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 gLdza;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 zLdzb;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 hLdza;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 aLdza;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 iLdys;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 aLdza;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 jLdza;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 eLdza;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 kLdys;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 bLdys;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 lLdza;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 fLdza;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 mLdza;m()Lcmh;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 aLdza;a(Lcmh;)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 nLdys;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 oLdza;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 pLdza;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 cLdza;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 qLdys;q()Lcmg;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 rLdza;r()Lddp$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 aLdza;a(Lddp$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 sLdys;s()Lbdt;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 aLdzb;a(Lbdt;)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 tLdys;t()Zintermediary method_197Lnet/minecraft/class_5217;method_197()Znamed isDifficultyLockedLnet/minecraft/world/WorldProperties;isDifficultyLocked()Z
-
setDifficultyLocked
public void setDifficultyLocked(boolean difficultyLocked) - Specified by:
setDifficultyLockedin interfaceSaveProperties- Mappings:
Namespace Name Mixin selector official dLdzb;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 uLdza;u()Leds;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 aLdys;a(Lp;Lcmm;)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 ALdzb;A()Ldif;intermediary method_28057Lnet/minecraft/class_5219;method_28057()Lnet/minecraft/class_5285;named getGeneratorOptionsLnet/minecraft/world/SaveProperties;getGeneratorOptions()Lnet/minecraft/world/gen/GeneratorOptions;
-
isFlatWorld
public boolean isFlatWorld()- Specified by:
isFlatWorldin interfaceSaveProperties- Mappings:
Namespace Name Mixin selector official BLdzb;B()Zintermediary method_45555Lnet/minecraft/class_5219;method_45555()Znamed isFlatWorldLnet/minecraft/world/SaveProperties;isFlatWorld()Z
-
isDebugWorld
public boolean isDebugWorld()- Specified by:
isDebugWorldin interfaceSaveProperties- Mappings:
Namespace Name Mixin selector official CLdzb;C()Zintermediary method_45556Lnet/minecraft/class_5219;method_45556()Znamed isDebugWorldLnet/minecraft/world/SaveProperties;isDebugWorld()Z
-
getLifecycle
public com.mojang.serialization.Lifecycle getLifecycle()- Specified by:
getLifecyclein interfaceSaveProperties- Mappings:
Namespace Name Mixin selector official DLdzb;D()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 ELdzb;E()Lqr;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 aLdzb;a(Lqr;)Vintermediary method_29037Lnet/minecraft/class_5219;method_29037(Lnet/minecraft/class_2487;)Vnamed setDragonFightLnet/minecraft/world/SaveProperties;setDragonFight(Lnet/minecraft/nbt/NbtCompound;)V
-
getDataConfiguration
- Specified by:
getDataConfigurationin interfaceSaveProperties- Mappings:
Namespace Name Mixin selector official FLdzb;F()Lcnd;intermediary method_29589Lnet/minecraft/class_5219;method_29589()Lnet/minecraft/class_7712;named getDataConfigurationLnet/minecraft/world/SaveProperties;getDataConfiguration()Lnet/minecraft/resource/DataConfiguration;
-
updateLevelInfo
- Specified by:
updateLevelInfoin interfaceSaveProperties- Mappings:
Namespace Name Mixin selector official aLdzb;a(Lcnd;)Vintermediary method_29590Lnet/minecraft/class_5219;method_29590(Lnet/minecraft/class_7712;)Vnamed updateLevelInfoLnet/minecraft/world/SaveProperties;updateLevelInfo(Lnet/minecraft/resource/DataConfiguration;)V
-
getCustomBossEvents
- Specified by:
getCustomBossEventsin interfaceSaveProperties- Mappings:
Namespace Name Mixin selector official GLdzb;G()Lqr;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 bLdzb;b(Lqr;)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 vLdza;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 gLdza;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 wLdza;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 hLdza;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 xLdza;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 aLdza;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 aLdzb;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 HLdzb;H()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 ILdzb;I()Ljava/util/Set;intermediary method_27432Lnet/minecraft/class_5219;method_27432()Ljava/util/Set;named getServerBrandsLnet/minecraft/world/SaveProperties;getServerBrands()Ljava/util/Set;
-
getRemovedFeatures
- Specified by:
getRemovedFeaturesin interfaceSaveProperties- Mappings:
Namespace Name Mixin selector official JLdzb;J()Ljava/util/Set;intermediary method_49900Lnet/minecraft/class_5219;method_49900()Ljava/util/Set;named getRemovedFeaturesLnet/minecraft/world/SaveProperties;getRemovedFeatures()Ljava/util/Set;
-
getMainWorldProperties
- Specified by:
getMainWorldPropertiesin interfaceSaveProperties- Mappings:
Namespace Name Mixin selector official KLdzb;K()Ldza;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 LLdzb;L()Lcmo;intermediary method_27433Lnet/minecraft/class_5219;method_27433()Lnet/minecraft/class_1940;named getLevelInfoLnet/minecraft/world/SaveProperties;getLevelInfo()Lnet/minecraft/world/level/LevelInfo;
-