Class LevelProperties

java.lang.Object
net.minecraft.world.level.LevelProperties
All Implemented Interfaces:
ServerWorldProperties, MutableWorldProperties, SaveProperties, WorldProperties

public class LevelProperties extends Object implements ServerWorldProperties, SaveProperties
Mappings:
Namespace Name
official dzc
intermediary net/minecraft/class_31
named net/minecraft/world/level/LevelProperties
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official e Ldzc;e:Lorg/slf4j/Logger;
      intermediary field_25029 Lnet/minecraft/class_31;field_25029:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/world/level/LevelProperties;LOGGER:Lorg/slf4j/Logger;
    • PLAYER_KEY

      protected static final String PLAYER_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Ldzc;a:Ljava/lang/String;
      intermediary field_36349 Lnet/minecraft/class_31;field_36349:Ljava/lang/String;
      named PLAYER_KEY Lnet/minecraft/world/level/LevelProperties;PLAYER_KEY:Ljava/lang/String;
    • WORLD_GEN_SETTINGS_KEY

      protected static final String WORLD_GEN_SETTINGS_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Ldzc;b:Ljava/lang/String;
      intermediary field_31843 Lnet/minecraft/class_31;field_31843:Ljava/lang/String;
      named WORLD_GEN_SETTINGS_KEY Lnet/minecraft/world/level/LevelProperties;WORLD_GEN_SETTINGS_KEY:Ljava/lang/String;
    • levelInfo

      private LevelInfo levelInfo
      Mappings:
      Namespace Name Mixin selector
      official f Ldzc;f:Lcmq;
      intermediary field_25030 Lnet/minecraft/class_31;field_25030:Lnet/minecraft/class_1940;
      named levelInfo Lnet/minecraft/world/level/LevelProperties;levelInfo:Lnet/minecraft/world/level/LevelInfo;
    • generatorOptions

      private final GeneratorOptions generatorOptions
      Mappings:
      Namespace Name Mixin selector
      official g Ldzc;g:Ldii;
      intermediary field_25425 Lnet/minecraft/class_31;field_25425:Lnet/minecraft/class_5285;
      named generatorOptions Lnet/minecraft/world/level/LevelProperties;generatorOptions:Lnet/minecraft/world/gen/GeneratorOptions;
    • specialProperty

      private final LevelProperties.SpecialProperty specialProperty
      Mappings:
      Namespace Name Mixin selector
      official h Ldzc;h:Ldzc$a;
      intermediary field_40372 Lnet/minecraft/class_31;field_40372:Lnet/minecraft/class_31$class_7729;
      named specialProperty Lnet/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 i Ldzc;i:Lcom/mojang/serialization/Lifecycle;
      intermediary field_25426 Lnet/minecraft/class_31;field_25426:Lcom/mojang/serialization/Lifecycle;
      named lifecycle Lnet/minecraft/world/level/LevelProperties;lifecycle:Lcom/mojang/serialization/Lifecycle;
    • spawnX

      private int spawnX
      Mappings:
      Namespace Name Mixin selector
      official j Ldzc;j:I
      intermediary field_151 Lnet/minecraft/class_31;field_151:I
      named spawnX Lnet/minecraft/world/level/LevelProperties;spawnX:I
    • spawnY

      private int spawnY
      Mappings:
      Namespace Name Mixin selector
      official k Ldzc;k:I
      intermediary field_167 Lnet/minecraft/class_31;field_167:I
      named spawnY Lnet/minecraft/world/level/LevelProperties;spawnY:I
    • spawnZ

      private int spawnZ
      Mappings:
      Namespace Name Mixin selector
      official l Ldzc;l:I
      intermediary field_182 Lnet/minecraft/class_31;field_182:I
      named spawnZ Lnet/minecraft/world/level/LevelProperties;spawnZ:I
    • spawnAngle

      private float spawnAngle
      Mappings:
      Namespace Name Mixin selector
      official m Ldzc;m:F
      intermediary field_26367 Lnet/minecraft/class_31;field_26367:F
      named spawnAngle Lnet/minecraft/world/level/LevelProperties;spawnAngle:F
    • time

      private long time
      Mappings:
      Namespace Name Mixin selector
      official n Ldzc;n:J
      intermediary field_189 Lnet/minecraft/class_31;field_189:J
      named time Lnet/minecraft/world/level/LevelProperties;time:J
    • timeOfDay

      private long timeOfDay
      Mappings:
      Namespace Name Mixin selector
      official o Ldzc;o:J
      intermediary field_198 Lnet/minecraft/class_31;field_198:J
      named timeOfDay Lnet/minecraft/world/level/LevelProperties;timeOfDay:J
    • dataFixer

      @Nullable private final @Nullable com.mojang.datafixers.DataFixer dataFixer
      Mappings:
      Namespace Name Mixin selector
      official p Ldzc;p:Lcom/mojang/datafixers/DataFixer;
      intermediary field_184 Lnet/minecraft/class_31;field_184:Lcom/mojang/datafixers/DataFixer;
      named dataFixer Lnet/minecraft/world/level/LevelProperties;dataFixer:Lcom/mojang/datafixers/DataFixer;
    • dataVersion

      private final int dataVersion
      Mappings:
      Namespace Name Mixin selector
      official q Ldzc;q:I
      intermediary field_196 Lnet/minecraft/class_31;field_196:I
      named dataVersion Lnet/minecraft/world/level/LevelProperties;dataVersion:I
    • playerDataLoaded

      private boolean playerDataLoaded
      Mappings:
      Namespace Name Mixin selector
      official r Ldzc;r:Z
      intermediary field_172 Lnet/minecraft/class_31;field_172:Z
      named playerDataLoaded Lnet/minecraft/world/level/LevelProperties;playerDataLoaded:Z
    • playerData

      @Nullable private @Nullable NbtCompound playerData
      Mappings:
      Namespace Name Mixin selector
      official s Ldzc;s:Lqr;
      intermediary field_170 Lnet/minecraft/class_31;field_170:Lnet/minecraft/class_2487;
      named playerData Lnet/minecraft/world/level/LevelProperties;playerData:Lnet/minecraft/nbt/NbtCompound;
    • version

      private final int version
      Mappings:
      Namespace Name Mixin selector
      official t Ldzc;t:I
      intermediary field_158 Lnet/minecraft/class_31;field_158:I
      named version Lnet/minecraft/world/level/LevelProperties;version:I
    • clearWeatherTime

      private int clearWeatherTime
      Mappings:
      Namespace Name Mixin selector
      official u Ldzc;u:I
      intermediary field_176 Lnet/minecraft/class_31;field_176:I
      named clearWeatherTime Lnet/minecraft/world/level/LevelProperties;clearWeatherTime:I
    • raining

      private boolean raining
      Mappings:
      Namespace Name Mixin selector
      official v Ldzc;v:Z
      intermediary field_190 Lnet/minecraft/class_31;field_190:Z
      named raining Lnet/minecraft/world/level/LevelProperties;raining:Z
    • rainTime

      private int rainTime
      Mappings:
      Namespace Name Mixin selector
      official w Ldzc;w:I
      intermediary field_192 Lnet/minecraft/class_31;field_192:I
      named rainTime Lnet/minecraft/world/level/LevelProperties;rainTime:I
    • thundering

      private boolean thundering
      Mappings:
      Namespace Name Mixin selector
      official x Ldzc;x:Z
      intermediary field_168 Lnet/minecraft/class_31;field_168:Z
      named thundering Lnet/minecraft/world/level/LevelProperties;thundering:Z
    • thunderTime

      private int thunderTime
      Mappings:
      Namespace Name Mixin selector
      official y Ldzc;y:I
      intermediary field_173 Lnet/minecraft/class_31;field_173:I
      named thunderTime Lnet/minecraft/world/level/LevelProperties;thunderTime:I
    • initialized

      private boolean initialized
      Mappings:
      Namespace Name Mixin selector
      official z Ldzc;z:Z
      intermediary field_185 Lnet/minecraft/class_31;field_185:Z
      named initialized Lnet/minecraft/world/level/LevelProperties;initialized:Z
    • difficultyLocked

      private boolean difficultyLocked
      Mappings:
      Namespace Name Mixin selector
      official A Ldzc;A:Z
      intermediary field_157 Lnet/minecraft/class_31;field_157:Z
      named difficultyLocked Lnet/minecraft/world/level/LevelProperties;difficultyLocked:Z
    • worldBorder

      private WorldBorder.Properties worldBorder
      Mappings:
      Namespace Name Mixin selector
      official B Ldzc;B:Ldds$c;
      intermediary field_24193 Lnet/minecraft/class_31;field_24193:Lnet/minecraft/class_2784$class_5200;
      named worldBorder Lnet/minecraft/world/level/LevelProperties;worldBorder:Lnet/minecraft/world/border/WorldBorder$Properties;
    • dragonFight

      private EnderDragonFight.Data dragonFight
      Mappings:
      Namespace Name Mixin selector
      official C Ldzc;C:Ldfn$a;
      intermediary field_25031 Lnet/minecraft/class_31;field_25031:Lnet/minecraft/class_2881$class_8576;
      named dragonFight Lnet/minecraft/world/level/LevelProperties;dragonFight:Lnet/minecraft/entity/boss/dragon/EnderDragonFight$Data;
    • customBossEvents

      @Nullable private @Nullable NbtCompound customBossEvents
      Mappings:
      Namespace Name Mixin selector
      official D Ldzc;D:Lqr;
      intermediary field_156 Lnet/minecraft/class_31;field_156:Lnet/minecraft/class_2487;
      named customBossEvents Lnet/minecraft/world/level/LevelProperties;customBossEvents:Lnet/minecraft/nbt/NbtCompound;
    • wanderingTraderSpawnDelay

      private int wanderingTraderSpawnDelay
      Mappings:
      Namespace Name Mixin selector
      official E Ldzc;E:I
      intermediary field_17736 Lnet/minecraft/class_31;field_17736:I
      named wanderingTraderSpawnDelay Lnet/minecraft/world/level/LevelProperties;wanderingTraderSpawnDelay:I
    • wanderingTraderSpawnChance

      private int wanderingTraderSpawnChance
      Mappings:
      Namespace Name Mixin selector
      official F Ldzc;F:I
      intermediary field_17737 Lnet/minecraft/class_31;field_17737:I
      named wanderingTraderSpawnChance Lnet/minecraft/world/level/LevelProperties;wanderingTraderSpawnChance:I
    • wanderingTraderId

      @Nullable private @Nullable UUID wanderingTraderId
      Mappings:
      Namespace Name Mixin selector
      official G Ldzc;G:Ljava/util/UUID;
      intermediary field_17738 Lnet/minecraft/class_31;field_17738:Ljava/util/UUID;
      named wanderingTraderId Lnet/minecraft/world/level/LevelProperties;wanderingTraderId:Ljava/util/UUID;
    • serverBrands

      private final Set<String> serverBrands
      Mappings:
      Namespace Name Mixin selector
      official H Ldzc;H:Ljava/util/Set;
      intermediary field_21837 Lnet/minecraft/class_31;field_21837:Ljava/util/Set;
      named serverBrands Lnet/minecraft/world/level/LevelProperties;serverBrands:Ljava/util/Set;
    • modded

      private boolean modded
      Mappings:
      Namespace Name Mixin selector
      official I Ldzc;I:Z
      intermediary field_21838 Lnet/minecraft/class_31;field_21838:Z
      named modded Lnet/minecraft/world/level/LevelProperties;modded:Z
    • removedFeatures

      private final Set<String> removedFeatures
      Mappings:
      Namespace Name Mixin selector
      official J Ldzc;J:Ljava/util/Set;
      intermediary field_43352 Lnet/minecraft/class_31;field_43352:Ljava/util/Set;
      named removedFeatures Lnet/minecraft/world/level/LevelProperties;removedFeatures:Ljava/util/Set;
    • scheduledEvents

      private final Timer<MinecraftServer> scheduledEvents
      Mappings:
      Namespace Name Mixin selector
      official K Ldzc;K:Ledv;
      intermediary field_191 Lnet/minecraft/class_31;field_191:Lnet/minecraft/class_236;
      named scheduledEvents Lnet/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, EnderDragonFight.Data dragonFight, LevelInfo levelInfo, GeneratorOptions generatorOptions, LevelProperties.SpecialProperty specialProperty, com.mojang.serialization.Lifecycle lifecycle)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldzc;<init>(Lcom/mojang/datafixers/DataFixer;ILqr;ZIIIFJJIIIZIZZZLdds$c;IILjava/util/UUID;Ljava/util/Set;Ljava/util/Set;Ledv;Lqr;Ldfn$a;Lcmq;Ldii;Ldzc$a;Lcom/mojang/serialization/Lifecycle;)V
      intermediary <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_2881$class_8576;Lnet/minecraft/class_1940;Lnet/minecraft/class_5285;Lnet/minecraft/class_31$class_7729;Lcom/mojang/serialization/Lifecycle;)V
      named <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/entity/boss/dragon/EnderDragonFight$Data;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> Ldzc;<init>(Lcmq;Ldii;Ldzc$a;Lcom/mojang/serialization/Lifecycle;)V
      intermediary <init> Lnet/minecraft/class_31;<init>(Lnet/minecraft/class_1940;Lnet/minecraft/class_5285;Lnet/minecraft/class_31$class_7729;Lcom/mojang/serialization/Lifecycle;)V
      named <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 a Ldzc;a(Lcom/mojang/serialization/Dynamic;Lcom/mojang/datafixers/DataFixer;ILqr;Lcmq;Ldza;Ldzc$a;Ldii;Lcom/mojang/serialization/Lifecycle;)Ldzc;
      intermediary method_29029 Lnet/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 readProperties Lnet/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:
      cloneWorldNbt in interface SaveProperties
      Mappings:
      Namespace Name Mixin selector
      official a Ldze;a(Lhs;Lqr;)Lqr;
      intermediary method_163 Lnet/minecraft/class_5219;method_163(Lnet/minecraft/class_5455;Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
      named cloneWorldNbt Lnet/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 a Ldzc;a(Lhs;Lqr;Lqr;)V
      intermediary method_158 Lnet/minecraft/class_31;method_158(Lnet/minecraft/class_5455;Lnet/minecraft/class_2487;Lnet/minecraft/class_2487;)V
      named updateProperties Lnet/minecraft/world/level/LevelProperties;updateProperties(Lnet/minecraft/registry/DynamicRegistryManager;Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/nbt/NbtCompound;)V
    • createStringList

      private static NbtList createStringList(Set<String> strings)
      Mappings:
      Namespace Name Mixin selector
      official a Ldzc;a(Ljava/util/Set;)Lqx;
      intermediary method_49902 Lnet/minecraft/class_31;method_49902(Ljava/util/Set;)Lnet/minecraft/class_2499;
      named createStringList Lnet/minecraft/world/level/LevelProperties;createStringList(Ljava/util/Set;)Lnet/minecraft/nbt/NbtList;
    • getSpawnX

      public int getSpawnX()
      Specified by:
      getSpawnX in interface WorldProperties
      Mappings:
      Namespace Name Mixin selector
      official a Ldyv;a()I
      intermediary method_215 Lnet/minecraft/class_5217;method_215()I
      named getSpawnX Lnet/minecraft/world/WorldProperties;getSpawnX()I
    • getSpawnY

      public int getSpawnY()
      Specified by:
      getSpawnY in interface WorldProperties
      Mappings:
      Namespace Name Mixin selector
      official b Ldyv;b()I
      intermediary method_144 Lnet/minecraft/class_5217;method_144()I
      named getSpawnY Lnet/minecraft/world/WorldProperties;getSpawnY()I
    • getSpawnZ

      public int getSpawnZ()
      Specified by:
      getSpawnZ in interface WorldProperties
      Mappings:
      Namespace Name Mixin selector
      official c Ldyv;c()I
      intermediary method_166 Lnet/minecraft/class_5217;method_166()I
      named getSpawnZ Lnet/minecraft/world/WorldProperties;getSpawnZ()I
    • getSpawnAngle

      public float getSpawnAngle()
      Specified by:
      getSpawnAngle in interface WorldProperties
      Mappings:
      Namespace Name Mixin selector
      official d Ldyv;d()F
      intermediary method_30656 Lnet/minecraft/class_5217;method_30656()F
      named getSpawnAngle Lnet/minecraft/world/WorldProperties;getSpawnAngle()F
    • getTime

      public long getTime()
      Specified by:
      getTime in interface WorldProperties
      Mappings:
      Namespace Name Mixin selector
      official e Ldyv;e()J
      intermediary method_188 Lnet/minecraft/class_5217;method_188()J
      named getTime Lnet/minecraft/world/WorldProperties;getTime()J
    • getTimeOfDay

      public long getTimeOfDay()
      Specified by:
      getTimeOfDay in interface WorldProperties
      Mappings:
      Namespace Name Mixin selector
      official f Ldyv;f()J
      intermediary method_217 Lnet/minecraft/class_5217;method_217()J
      named getTimeOfDay Lnet/minecraft/world/WorldProperties;getTimeOfDay()J
    • loadPlayerData

      private void loadPlayerData()
      Mappings:
      Namespace Name Mixin selector
      official N Ldzc;N()V
      intermediary method_185 Lnet/minecraft/class_31;method_185()V
      named loadPlayerData Lnet/minecraft/world/level/LevelProperties;loadPlayerData()V
    • getPlayerData

      public NbtCompound getPlayerData()
      Specified by:
      getPlayerData in interface SaveProperties
      Mappings:
      Namespace Name Mixin selector
      official y Ldze;y()Lqr;
      intermediary method_226 Lnet/minecraft/class_5219;method_226()Lnet/minecraft/class_2487;
      named getPlayerData Lnet/minecraft/world/SaveProperties;getPlayerData()Lnet/minecraft/nbt/NbtCompound;
    • setSpawnX

      public void setSpawnX(int spawnX)
      Specified by:
      setSpawnX in interface MutableWorldProperties
      Mappings:
      Namespace Name Mixin selector
      official b Ldzf;b(I)V
      intermediary method_27416 Lnet/minecraft/class_5269;method_27416(I)V
      named setSpawnX Lnet/minecraft/world/MutableWorldProperties;setSpawnX(I)V
    • setSpawnY

      public void setSpawnY(int spawnY)
      Specified by:
      setSpawnY in interface MutableWorldProperties
      Mappings:
      Namespace Name Mixin selector
      official c Ldzf;c(I)V
      intermediary method_27417 Lnet/minecraft/class_5269;method_27417(I)V
      named setSpawnY Lnet/minecraft/world/MutableWorldProperties;setSpawnY(I)V
    • setSpawnZ

      public void setSpawnZ(int spawnZ)
      Specified by:
      setSpawnZ in interface MutableWorldProperties
      Mappings:
      Namespace Name Mixin selector
      official d Ldzf;d(I)V
      intermediary method_27419 Lnet/minecraft/class_5269;method_27419(I)V
      named setSpawnZ Lnet/minecraft/world/MutableWorldProperties;setSpawnZ(I)V
    • setSpawnAngle

      public void setSpawnAngle(float spawnAngle)
      Specified by:
      setSpawnAngle in interface MutableWorldProperties
      Mappings:
      Namespace Name Mixin selector
      official a Ldzf;a(F)V
      intermediary method_30657 Lnet/minecraft/class_5269;method_30657(F)V
      named setSpawnAngle Lnet/minecraft/world/MutableWorldProperties;setSpawnAngle(F)V
    • setTime

      public void setTime(long time)
      Specified by:
      setTime in interface ServerWorldProperties
      Mappings:
      Namespace Name Mixin selector
      official a Ldzd;a(J)V
      intermediary method_29034 Lnet/minecraft/class_5268;method_29034(J)V
      named setTime Lnet/minecraft/world/level/ServerWorldProperties;setTime(J)V
    • setTimeOfDay

      public void setTimeOfDay(long timeOfDay)
      Specified by:
      setTimeOfDay in interface ServerWorldProperties
      Mappings:
      Namespace Name Mixin selector
      official b Ldzd;b(J)V
      intermediary method_29035 Lnet/minecraft/class_5268;method_29035(J)V
      named setTimeOfDay Lnet/minecraft/world/level/ServerWorldProperties;setTimeOfDay(J)V
    • setSpawnPos

      public void setSpawnPos(BlockPos pos, float angle)
      Specified by:
      setSpawnPos in interface MutableWorldProperties
      Mappings:
      Namespace Name Mixin selector
      official a Ldzf;a(Lgu;F)V
      intermediary method_187 Lnet/minecraft/class_5269;method_187(Lnet/minecraft/class_2338;F)V
      named setSpawnPos Lnet/minecraft/world/MutableWorldProperties;setSpawnPos(Lnet/minecraft/util/math/BlockPos;F)V
    • getLevelName

      public String getLevelName()
      Specified by:
      getLevelName in interface SaveProperties
      Specified by:
      getLevelName in interface ServerWorldProperties
      Mappings:
      Namespace Name Mixin selector
      official g Ldzd;g()Ljava/lang/String;
      intermediary method_150 Lnet/minecraft/class_5268;method_150()Ljava/lang/String;
      named getLevelName Lnet/minecraft/world/level/ServerWorldProperties;getLevelName()Ljava/lang/String;
    • getVersion

      public int getVersion()
      Specified by:
      getVersion in interface SaveProperties
      Mappings:
      Namespace Name Mixin selector
      official z Ldze;z()I
      intermediary method_168 Lnet/minecraft/class_5219;method_168()I
      named getVersion Lnet/minecraft/world/SaveProperties;getVersion()I
    • getClearWeatherTime

      public int getClearWeatherTime()
      Specified by:
      getClearWeatherTime in interface ServerWorldProperties
      Mappings:
      Namespace Name Mixin selector
      official h Ldzd;h()I
      intermediary method_155 Lnet/minecraft/class_5268;method_155()I
      named getClearWeatherTime Lnet/minecraft/world/level/ServerWorldProperties;getClearWeatherTime()I
    • setClearWeatherTime

      public void setClearWeatherTime(int clearWeatherTime)
      Specified by:
      setClearWeatherTime in interface ServerWorldProperties
      Mappings:
      Namespace Name Mixin selector
      official a Ldzd;a(I)V
      intermediary method_167 Lnet/minecraft/class_5268;method_167(I)V
      named setClearWeatherTime Lnet/minecraft/world/level/ServerWorldProperties;setClearWeatherTime(I)V
    • isThundering

      public boolean isThundering()
      Specified by:
      isThundering in interface WorldProperties
      Mappings:
      Namespace Name Mixin selector
      official i Ldyv;i()Z
      intermediary method_203 Lnet/minecraft/class_5217;method_203()Z
      named isThundering Lnet/minecraft/world/WorldProperties;isThundering()Z
    • setThundering

      public void setThundering(boolean thundering)
      Specified by:
      setThundering in interface ServerWorldProperties
      Mappings:
      Namespace Name Mixin selector
      official a Ldzd;a(Z)V
      intermediary method_147 Lnet/minecraft/class_5268;method_147(Z)V
      named setThundering Lnet/minecraft/world/level/ServerWorldProperties;setThundering(Z)V
    • getThunderTime

      public int getThunderTime()
      Specified by:
      getThunderTime in interface ServerWorldProperties
      Mappings:
      Namespace Name Mixin selector
      official j Ldzd;j()I
      intermediary method_145 Lnet/minecraft/class_5268;method_145()I
      named getThunderTime Lnet/minecraft/world/level/ServerWorldProperties;getThunderTime()I
    • setThunderTime

      public void setThunderTime(int thunderTime)
      Specified by:
      setThunderTime in interface ServerWorldProperties
      Mappings:
      Namespace Name Mixin selector
      official e Ldzd;e(I)V
      intermediary method_173 Lnet/minecraft/class_5268;method_173(I)V
      named setThunderTime Lnet/minecraft/world/level/ServerWorldProperties;setThunderTime(I)V
    • isRaining

      public boolean isRaining()
      Specified by:
      isRaining in interface WorldProperties
      Mappings:
      Namespace Name Mixin selector
      official k Ldyv;k()Z
      intermediary method_156 Lnet/minecraft/class_5217;method_156()Z
      named isRaining Lnet/minecraft/world/WorldProperties;isRaining()Z
    • setRaining

      public void setRaining(boolean raining)
      Specified by:
      setRaining in interface WorldProperties
      Mappings:
      Namespace Name Mixin selector
      official b Ldyv;b(Z)V
      intermediary method_157 Lnet/minecraft/class_5217;method_157(Z)V
      named setRaining Lnet/minecraft/world/WorldProperties;setRaining(Z)V
    • getRainTime

      public int getRainTime()
      Specified by:
      getRainTime in interface ServerWorldProperties
      Mappings:
      Namespace Name Mixin selector
      official l Ldzd;l()I
      intermediary method_190 Lnet/minecraft/class_5268;method_190()I
      named getRainTime Lnet/minecraft/world/level/ServerWorldProperties;getRainTime()I
    • setRainTime

      public void setRainTime(int rainTime)
      Specified by:
      setRainTime in interface ServerWorldProperties
      Mappings:
      Namespace Name Mixin selector
      official f Ldzd;f(I)V
      intermediary method_164 Lnet/minecraft/class_5268;method_164(I)V
      named setRainTime Lnet/minecraft/world/level/ServerWorldProperties;setRainTime(I)V
    • getGameMode

      public GameMode getGameMode()
      Specified by:
      getGameMode in interface SaveProperties
      Specified by:
      getGameMode in interface ServerWorldProperties
      Mappings:
      Namespace Name Mixin selector
      official m Ldzd;m()Lcmj;
      intermediary method_210 Lnet/minecraft/class_5268;method_210()Lnet/minecraft/class_1934;
      named getGameMode Lnet/minecraft/world/level/ServerWorldProperties;getGameMode()Lnet/minecraft/world/GameMode;
    • setGameMode

      public void setGameMode(GameMode gameMode)
      Specified by:
      setGameMode in interface SaveProperties
      Specified by:
      setGameMode in interface ServerWorldProperties
      Mappings:
      Namespace Name Mixin selector
      official a Ldzd;a(Lcmj;)V
      intermediary method_193 Lnet/minecraft/class_5268;method_193(Lnet/minecraft/class_1934;)V
      named setGameMode Lnet/minecraft/world/level/ServerWorldProperties;setGameMode(Lnet/minecraft/world/GameMode;)V
    • isHardcore

      public boolean isHardcore()
      Specified by:
      isHardcore in interface SaveProperties
      Specified by:
      isHardcore in interface WorldProperties
      Mappings:
      Namespace Name Mixin selector
      official n Ldyv;n()Z
      intermediary method_152 Lnet/minecraft/class_5217;method_152()Z
      named isHardcore Lnet/minecraft/world/WorldProperties;isHardcore()Z
    • areCommandsAllowed

      public boolean areCommandsAllowed()
      Specified by:
      areCommandsAllowed in interface SaveProperties
      Specified by:
      areCommandsAllowed in interface ServerWorldProperties
      Mappings:
      Namespace Name Mixin selector
      official o Ldzd;o()Z
      intermediary method_194 Lnet/minecraft/class_5268;method_194()Z
      named areCommandsAllowed Lnet/minecraft/world/level/ServerWorldProperties;areCommandsAllowed()Z
    • isInitialized

      public boolean isInitialized()
      Specified by:
      isInitialized in interface ServerWorldProperties
      Mappings:
      Namespace Name Mixin selector
      official p Ldzd;p()Z
      intermediary method_222 Lnet/minecraft/class_5268;method_222()Z
      named isInitialized Lnet/minecraft/world/level/ServerWorldProperties;isInitialized()Z
    • setInitialized

      public void setInitialized(boolean initialized)
      Specified by:
      setInitialized in interface ServerWorldProperties
      Mappings:
      Namespace Name Mixin selector
      official c Ldzd;c(Z)V
      intermediary method_223 Lnet/minecraft/class_5268;method_223(Z)V
      named setInitialized Lnet/minecraft/world/level/ServerWorldProperties;setInitialized(Z)V
    • getGameRules

      public GameRules getGameRules()
      Specified by:
      getGameRules in interface SaveProperties
      Specified by:
      getGameRules in interface WorldProperties
      Mappings:
      Namespace Name Mixin selector
      official q Ldyv;q()Lcmi;
      intermediary method_146 Lnet/minecraft/class_5217;method_146()Lnet/minecraft/class_1928;
      named getGameRules Lnet/minecraft/world/WorldProperties;getGameRules()Lnet/minecraft/world/GameRules;
    • getWorldBorder

      public WorldBorder.Properties getWorldBorder()
      Specified by:
      getWorldBorder in interface ServerWorldProperties
      Mappings:
      Namespace Name Mixin selector
      official r Ldzd;r()Ldds$c;
      intermediary method_27422 Lnet/minecraft/class_5268;method_27422()Lnet/minecraft/class_2784$class_5200;
      named getWorldBorder Lnet/minecraft/world/level/ServerWorldProperties;getWorldBorder()Lnet/minecraft/world/border/WorldBorder$Properties;
    • setWorldBorder

      public void setWorldBorder(WorldBorder.Properties worldBorder)
      Specified by:
      setWorldBorder in interface ServerWorldProperties
      Mappings:
      Namespace Name Mixin selector
      official a Ldzd;a(Ldds$c;)V
      intermediary method_27415 Lnet/minecraft/class_5268;method_27415(Lnet/minecraft/class_2784$class_5200;)V
      named setWorldBorder Lnet/minecraft/world/level/ServerWorldProperties;setWorldBorder(Lnet/minecraft/world/border/WorldBorder$Properties;)V
    • getDifficulty

      public Difficulty getDifficulty()
      Specified by:
      getDifficulty in interface SaveProperties
      Specified by:
      getDifficulty in interface WorldProperties
      Mappings:
      Namespace Name Mixin selector
      official s Ldyv;s()Lbdu;
      intermediary method_207 Lnet/minecraft/class_5217;method_207()Lnet/minecraft/class_1267;
      named getDifficulty Lnet/minecraft/world/WorldProperties;getDifficulty()Lnet/minecraft/world/Difficulty;
    • setDifficulty

      public void setDifficulty(Difficulty difficulty)
      Specified by:
      setDifficulty in interface SaveProperties
      Mappings:
      Namespace Name Mixin selector
      official a Ldze;a(Lbdu;)V
      intermediary method_208 Lnet/minecraft/class_5219;method_208(Lnet/minecraft/class_1267;)V
      named setDifficulty Lnet/minecraft/world/SaveProperties;setDifficulty(Lnet/minecraft/world/Difficulty;)V
    • isDifficultyLocked

      public boolean isDifficultyLocked()
      Specified by:
      isDifficultyLocked in interface SaveProperties
      Specified by:
      isDifficultyLocked in interface WorldProperties
      Mappings:
      Namespace Name Mixin selector
      official t Ldyv;t()Z
      intermediary method_197 Lnet/minecraft/class_5217;method_197()Z
      named isDifficultyLocked Lnet/minecraft/world/WorldProperties;isDifficultyLocked()Z
    • setDifficultyLocked

      public void setDifficultyLocked(boolean difficultyLocked)
      Specified by:
      setDifficultyLocked in interface SaveProperties
      Mappings:
      Namespace Name Mixin selector
      official d Ldze;d(Z)V
      intermediary method_186 Lnet/minecraft/class_5219;method_186(Z)V
      named setDifficultyLocked Lnet/minecraft/world/SaveProperties;setDifficultyLocked(Z)V
    • getScheduledEvents

      public Timer<MinecraftServer> getScheduledEvents()
      Specified by:
      getScheduledEvents in interface ServerWorldProperties
      Mappings:
      Namespace Name Mixin selector
      official u Ldzd;u()Ledv;
      intermediary method_143 Lnet/minecraft/class_5268;method_143()Lnet/minecraft/class_236;
      named getScheduledEvents Lnet/minecraft/world/level/ServerWorldProperties;getScheduledEvents()Lnet/minecraft/world/timer/Timer;
    • populateCrashReport

      public void populateCrashReport(CrashReportSection reportSection, HeightLimitView world)
      Specified by:
      populateCrashReport in interface ServerWorldProperties
      Specified by:
      populateCrashReport in interface WorldProperties
      Mappings:
      Namespace Name Mixin selector
      official a Ldyv;a(Lp;Lcmo;)V
      intermediary method_151 Lnet/minecraft/class_5217;method_151(Lnet/minecraft/class_129;Lnet/minecraft/class_5539;)V
      named populateCrashReport Lnet/minecraft/world/WorldProperties;populateCrashReport(Lnet/minecraft/util/crash/CrashReportSection;Lnet/minecraft/world/HeightLimitView;)V
    • getGeneratorOptions

      public GeneratorOptions getGeneratorOptions()
      Specified by:
      getGeneratorOptions in interface SaveProperties
      Mappings:
      Namespace Name Mixin selector
      official A Ldze;A()Ldii;
      intermediary method_28057 Lnet/minecraft/class_5219;method_28057()Lnet/minecraft/class_5285;
      named getGeneratorOptions Lnet/minecraft/world/SaveProperties;getGeneratorOptions()Lnet/minecraft/world/gen/GeneratorOptions;
    • isFlatWorld

      public boolean isFlatWorld()
      Specified by:
      isFlatWorld in interface SaveProperties
      Mappings:
      Namespace Name Mixin selector
      official B Ldze;B()Z
      intermediary method_45555 Lnet/minecraft/class_5219;method_45555()Z
      named isFlatWorld Lnet/minecraft/world/SaveProperties;isFlatWorld()Z
    • isDebugWorld

      public boolean isDebugWorld()
      Specified by:
      isDebugWorld in interface SaveProperties
      Mappings:
      Namespace Name Mixin selector
      official C Ldze;C()Z
      intermediary method_45556 Lnet/minecraft/class_5219;method_45556()Z
      named isDebugWorld Lnet/minecraft/world/SaveProperties;isDebugWorld()Z
    • getLifecycle

      public com.mojang.serialization.Lifecycle getLifecycle()
      Specified by:
      getLifecycle in interface SaveProperties
      Mappings:
      Namespace Name Mixin selector
      official D Ldze;D()Lcom/mojang/serialization/Lifecycle;
      intermediary method_29588 Lnet/minecraft/class_5219;method_29588()Lcom/mojang/serialization/Lifecycle;
      named getLifecycle Lnet/minecraft/world/SaveProperties;getLifecycle()Lcom/mojang/serialization/Lifecycle;
    • getDragonFight

      public EnderDragonFight.Data getDragonFight()
      Specified by:
      getDragonFight in interface SaveProperties
      Mappings:
      Namespace Name Mixin selector
      official E Ldze;E()Ldfn$a;
      intermediary method_29036 Lnet/minecraft/class_5219;method_29036()Lnet/minecraft/class_2881$class_8576;
      named getDragonFight Lnet/minecraft/world/SaveProperties;getDragonFight()Lnet/minecraft/entity/boss/dragon/EnderDragonFight$Data;
    • setDragonFight

      public void setDragonFight(EnderDragonFight.Data dragonFight)
      Specified by:
      setDragonFight in interface SaveProperties
      Mappings:
      Namespace Name Mixin selector
      official a Ldze;a(Ldfn$a;)V
      intermediary method_29037 Lnet/minecraft/class_5219;method_29037(Lnet/minecraft/class_2881$class_8576;)V
      named setDragonFight Lnet/minecraft/world/SaveProperties;setDragonFight(Lnet/minecraft/entity/boss/dragon/EnderDragonFight$Data;)V
    • getDataConfiguration

      public DataConfiguration getDataConfiguration()
      Specified by:
      getDataConfiguration in interface SaveProperties
      Mappings:
      Namespace Name Mixin selector
      official F Ldze;F()Lcnf;
      intermediary method_29589 Lnet/minecraft/class_5219;method_29589()Lnet/minecraft/class_7712;
      named getDataConfiguration Lnet/minecraft/world/SaveProperties;getDataConfiguration()Lnet/minecraft/resource/DataConfiguration;
    • updateLevelInfo

      public void updateLevelInfo(DataConfiguration dataConfiguration)
      Specified by:
      updateLevelInfo in interface SaveProperties
      Mappings:
      Namespace Name Mixin selector
      official a Ldze;a(Lcnf;)V
      intermediary method_29590 Lnet/minecraft/class_5219;method_29590(Lnet/minecraft/class_7712;)V
      named updateLevelInfo Lnet/minecraft/world/SaveProperties;updateLevelInfo(Lnet/minecraft/resource/DataConfiguration;)V
    • getCustomBossEvents

      @Nullable public @Nullable NbtCompound getCustomBossEvents()
      Specified by:
      getCustomBossEvents in interface SaveProperties
      Mappings:
      Namespace Name Mixin selector
      official G Ldze;G()Lqr;
      intermediary method_228 Lnet/minecraft/class_5219;method_228()Lnet/minecraft/class_2487;
      named getCustomBossEvents Lnet/minecraft/world/SaveProperties;getCustomBossEvents()Lnet/minecraft/nbt/NbtCompound;
    • setCustomBossEvents

      public void setCustomBossEvents(@Nullable @Nullable NbtCompound customBossEvents)
      Specified by:
      setCustomBossEvents in interface SaveProperties
      Mappings:
      Namespace Name Mixin selector
      official a Ldze;a(Lqr;)V
      intermediary method_221 Lnet/minecraft/class_5219;method_221(Lnet/minecraft/class_2487;)V
      named setCustomBossEvents Lnet/minecraft/world/SaveProperties;setCustomBossEvents(Lnet/minecraft/nbt/NbtCompound;)V
    • getWanderingTraderSpawnDelay

      public int getWanderingTraderSpawnDelay()
      Specified by:
      getWanderingTraderSpawnDelay in interface ServerWorldProperties
      Mappings:
      Namespace Name Mixin selector
      official v Ldzd;v()I
      intermediary method_18038 Lnet/minecraft/class_5268;method_18038()I
      named getWanderingTraderSpawnDelay Lnet/minecraft/world/level/ServerWorldProperties;getWanderingTraderSpawnDelay()I
    • setWanderingTraderSpawnDelay

      public void setWanderingTraderSpawnDelay(int wanderingTraderSpawnDelay)
      Specified by:
      setWanderingTraderSpawnDelay in interface ServerWorldProperties
      Mappings:
      Namespace Name Mixin selector
      official g Ldzd;g(I)V
      intermediary method_18041 Lnet/minecraft/class_5268;method_18041(I)V
      named setWanderingTraderSpawnDelay Lnet/minecraft/world/level/ServerWorldProperties;setWanderingTraderSpawnDelay(I)V
    • getWanderingTraderSpawnChance

      public int getWanderingTraderSpawnChance()
      Specified by:
      getWanderingTraderSpawnChance in interface ServerWorldProperties
      Mappings:
      Namespace Name Mixin selector
      official w Ldzd;w()I
      intermediary method_18039 Lnet/minecraft/class_5268;method_18039()I
      named getWanderingTraderSpawnChance Lnet/minecraft/world/level/ServerWorldProperties;getWanderingTraderSpawnChance()I
    • setWanderingTraderSpawnChance

      public void setWanderingTraderSpawnChance(int wanderingTraderSpawnChance)
      Specified by:
      setWanderingTraderSpawnChance in interface ServerWorldProperties
      Mappings:
      Namespace Name Mixin selector
      official h Ldzd;h(I)V
      intermediary method_18042 Lnet/minecraft/class_5268;method_18042(I)V
      named setWanderingTraderSpawnChance Lnet/minecraft/world/level/ServerWorldProperties;setWanderingTraderSpawnChance(I)V
    • getWanderingTraderId

      @Nullable public @Nullable UUID getWanderingTraderId()
      Specified by:
      getWanderingTraderId in interface ServerWorldProperties
      Mappings:
      Namespace Name Mixin selector
      official x Ldzd;x()Ljava/util/UUID;
      intermediary method_35506 Lnet/minecraft/class_5268;method_35506()Ljava/util/UUID;
      named getWanderingTraderId Lnet/minecraft/world/level/ServerWorldProperties;getWanderingTraderId()Ljava/util/UUID;
    • setWanderingTraderId

      public void setWanderingTraderId(UUID wanderingTraderId)
      Specified by:
      setWanderingTraderId in interface ServerWorldProperties
      Mappings:
      Namespace Name Mixin selector
      official a Ldzd;a(Ljava/util/UUID;)V
      intermediary method_18040 Lnet/minecraft/class_5268;method_18040(Ljava/util/UUID;)V
      named setWanderingTraderId Lnet/minecraft/world/level/ServerWorldProperties;setWanderingTraderId(Ljava/util/UUID;)V
    • addServerBrand

      public void addServerBrand(String brand, boolean modded)
      Specified by:
      addServerBrand in interface SaveProperties
      Mappings:
      Namespace Name Mixin selector
      official a Ldze;a(Ljava/lang/String;Z)V
      intermediary method_24285 Lnet/minecraft/class_5219;method_24285(Ljava/lang/String;Z)V
      named addServerBrand Lnet/minecraft/world/SaveProperties;addServerBrand(Ljava/lang/String;Z)V
    • isModded

      public boolean isModded()
      Specified by:
      isModded in interface SaveProperties
      Mappings:
      Namespace Name Mixin selector
      official H Ldze;H()Z
      intermediary method_27431 Lnet/minecraft/class_5219;method_27431()Z
      named isModded Lnet/minecraft/world/SaveProperties;isModded()Z
    • getServerBrands

      public Set<String> getServerBrands()
      Specified by:
      getServerBrands in interface SaveProperties
      Mappings:
      Namespace Name Mixin selector
      official I Ldze;I()Ljava/util/Set;
      intermediary method_27432 Lnet/minecraft/class_5219;method_27432()Ljava/util/Set;
      named getServerBrands Lnet/minecraft/world/SaveProperties;getServerBrands()Ljava/util/Set;
    • getRemovedFeatures

      public Set<String> getRemovedFeatures()
      Specified by:
      getRemovedFeatures in interface SaveProperties
      Mappings:
      Namespace Name Mixin selector
      official J Ldze;J()Ljava/util/Set;
      intermediary method_49900 Lnet/minecraft/class_5219;method_49900()Ljava/util/Set;
      named getRemovedFeatures Lnet/minecraft/world/SaveProperties;getRemovedFeatures()Ljava/util/Set;
    • getMainWorldProperties

      public ServerWorldProperties getMainWorldProperties()
      Specified by:
      getMainWorldProperties in interface SaveProperties
      Mappings:
      Namespace Name Mixin selector
      official K Ldze;K()Ldzd;
      intermediary method_27859 Lnet/minecraft/class_5219;method_27859()Lnet/minecraft/class_5268;
      named getMainWorldProperties Lnet/minecraft/world/SaveProperties;getMainWorldProperties()Lnet/minecraft/world/level/ServerWorldProperties;
    • getLevelInfo

      public LevelInfo getLevelInfo()
      Specified by:
      getLevelInfo in interface SaveProperties
      Mappings:
      Namespace Name Mixin selector
      official L Ldze;L()Lcmq;
      intermediary method_27433 Lnet/minecraft/class_5219;method_27433()Lnet/minecraft/class_1940;
      named getLevelInfo Lnet/minecraft/world/SaveProperties;getLevelInfo()Lnet/minecraft/world/level/LevelInfo;