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
named net/minecraft/world/level/LevelProperties
intermediary net/minecraft/class_31
official eqc
  • Field Details Link icon

    • LOGGER Link icon

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/world/level/LevelProperties;LOGGER:Lorg/slf4j/Logger;
      intermediary field_25029 Lnet/minecraft/class_31;field_25029:Lorg/slf4j/Logger;
      official f Leqc;f:Lorg/slf4j/Logger;
    • LEVEL_NAME_KEY Link icon

      public static final String LEVEL_NAME_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named LEVEL_NAME_KEY Lnet/minecraft/world/level/LevelProperties;LEVEL_NAME_KEY:Ljava/lang/String;
      intermediary field_46838 Lnet/minecraft/class_31;field_46838:Ljava/lang/String;
      official a Leqc;a:Ljava/lang/String;
    • PLAYER_KEY Link icon

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

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

      private LevelInfo levelInfo
      Mappings:
      Namespace Name Mixin selector
      named levelInfo Lnet/minecraft/world/level/LevelProperties;levelInfo:Lnet/minecraft/world/level/LevelInfo;
      intermediary field_25030 Lnet/minecraft/class_31;field_25030:Lnet/minecraft/class_1940;
      official g Leqc;g:Ldce;
    • generatorOptions Link icon

      private final GeneratorOptions generatorOptions
      Mappings:
      Namespace Name Mixin selector
      named generatorOptions Lnet/minecraft/world/level/LevelProperties;generatorOptions:Lnet/minecraft/world/gen/GeneratorOptions;
      intermediary field_25425 Lnet/minecraft/class_31;field_25425:Lnet/minecraft/class_5285;
      official h Leqc;h:Ldyu;
    • specialProperty Link icon

      private final LevelProperties.SpecialProperty specialProperty
      Mappings:
      Namespace Name Mixin selector
      named specialProperty Lnet/minecraft/world/level/LevelProperties;specialProperty:Lnet/minecraft/world/level/LevelProperties$SpecialProperty;
      intermediary field_40372 Lnet/minecraft/class_31;field_40372:Lnet/minecraft/class_31$class_7729;
      official i Leqc;i:Leqc$a;
    • lifecycle Link icon

      private final com.mojang.serialization.Lifecycle lifecycle
      Mappings:
      Namespace Name Mixin selector
      named lifecycle Lnet/minecraft/world/level/LevelProperties;lifecycle:Lcom/mojang/serialization/Lifecycle;
      intermediary field_25426 Lnet/minecraft/class_31;field_25426:Lcom/mojang/serialization/Lifecycle;
      official j Leqc;j:Lcom/mojang/serialization/Lifecycle;
    • spawnPos Link icon

      private BlockPos spawnPos
      Mappings:
      Namespace Name Mixin selector
      named spawnPos Lnet/minecraft/world/level/LevelProperties;spawnPos:Lnet/minecraft/util/math/BlockPos;
      intermediary field_48380 Lnet/minecraft/class_31;field_48380:Lnet/minecraft/class_2338;
      official k Leqc;k:Liz;
    • spawnAngle Link icon

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

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

      private long timeOfDay
      Mappings:
      Namespace Name Mixin selector
      named timeOfDay Lnet/minecraft/world/level/LevelProperties;timeOfDay:J
      intermediary field_198 Lnet/minecraft/class_31;field_198:J
      official n Leqc;n:J
    • playerData Link icon

      @Nullable private final @Nullable NbtCompound playerData
      Mappings:
      Namespace Name Mixin selector
      named playerData Lnet/minecraft/world/level/LevelProperties;playerData:Lnet/minecraft/nbt/NbtCompound;
      intermediary field_170 Lnet/minecraft/class_31;field_170:Lnet/minecraft/class_2487;
      official o Leqc;o:Lus;
    • version Link icon

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

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

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

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

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

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

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

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

      private WorldBorder.Properties worldBorder
      Mappings:
      Namespace Name Mixin selector
      named worldBorder Lnet/minecraft/world/level/LevelProperties;worldBorder:Lnet/minecraft/world/border/WorldBorder$Properties;
      intermediary field_24193 Lnet/minecraft/class_31;field_24193:Lnet/minecraft/class_2784$class_5200;
      official x Leqc;x:Ldtv$c;
    • dragonFight Link icon

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

      @Nullable private @Nullable NbtCompound customBossEvents
      Mappings:
      Namespace Name Mixin selector
      named customBossEvents Lnet/minecraft/world/level/LevelProperties;customBossEvents:Lnet/minecraft/nbt/NbtCompound;
      intermediary field_156 Lnet/minecraft/class_31;field_156:Lnet/minecraft/class_2487;
      official z Leqc;z:Lus;
    • wanderingTraderSpawnDelay Link icon

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

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

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

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

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

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

      private final Timer<MinecraftServer> scheduledEvents
      Mappings:
      Namespace Name Mixin selector
      named scheduledEvents Lnet/minecraft/world/level/LevelProperties;scheduledEvents:Lnet/minecraft/world/timer/Timer;
      intermediary field_191 Lnet/minecraft/class_31;field_191:Lnet/minecraft/class_236;
      official G Leqc;G:Levg;
  • Constructor Details Link icon

    • LevelProperties Link icon

      private LevelProperties(@Nullable @Nullable NbtCompound playerData, boolean modded, BlockPos spawnPos, 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
      named <init> Lnet/minecraft/world/level/LevelProperties;<init>(Lnet/minecraft/nbt/NbtCompound;ZLnet/minecraft/util/math/BlockPos;FJJIIIZIZZZLnet/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
      intermediary <init> Lnet/minecraft/class_31;<init>(Lnet/minecraft/class_2487;ZLnet/minecraft/class_2338;FJJIIIZIZZZLnet/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
      official <init> Leqc;<init>(Lus;ZLiz;FJJIIIZIZZZLdtv$c;IILjava/util/UUID;Ljava/util/Set;Ljava/util/Set;Levg;Lus;Ldvz$a;Ldce;Ldyu;Leqc$a;Lcom/mojang/serialization/Lifecycle;)V
    • LevelProperties Link icon

      public LevelProperties(LevelInfo levelInfo, GeneratorOptions generatorOptions, LevelProperties.SpecialProperty specialProperty, com.mojang.serialization.Lifecycle lifecycle)
      Mappings:
      Namespace Name Mixin selector
      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
      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
      official <init> Leqc;<init>(Ldce;Ldyu;Leqc$a;Lcom/mojang/serialization/Lifecycle;)V
  • Method Details Link icon

    • readProperties Link icon

      public static <T> LevelProperties readProperties(com.mojang.serialization.Dynamic<T> dynamic, LevelInfo info, LevelProperties.SpecialProperty specialProperty, GeneratorOptions generatorOptions, com.mojang.serialization.Lifecycle lifecycle)
      Mappings:
      Namespace Name Mixin selector
      named readProperties Lnet/minecraft/world/level/LevelProperties;readProperties(Lcom/mojang/serialization/Dynamic;Lnet/minecraft/world/level/LevelInfo;Lnet/minecraft/world/level/LevelProperties$SpecialProperty;Lnet/minecraft/world/gen/GeneratorOptions;Lcom/mojang/serialization/Lifecycle;)Lnet/minecraft/world/level/LevelProperties;
      intermediary method_29029 Lnet/minecraft/class_31;method_29029(Lcom/mojang/serialization/Dynamic;Lnet/minecraft/class_1940;Lnet/minecraft/class_31$class_7729;Lnet/minecraft/class_5285;Lcom/mojang/serialization/Lifecycle;)Lnet/minecraft/class_31;
      official a Leqc;a(Lcom/mojang/serialization/Dynamic;Ldce;Leqc$a;Ldyu;Lcom/mojang/serialization/Lifecycle;)Leqc;
    • cloneWorldNbt Link icon

      public NbtCompound cloneWorldNbt(DynamicRegistryManager registryManager, @Nullable @Nullable NbtCompound playerNbt)
      Specified by:
      cloneWorldNbt in interface SaveProperties
      Mappings:
      Namespace Name Mixin selector
      named cloneWorldNbt Lnet/minecraft/world/SaveProperties;cloneWorldNbt(Lnet/minecraft/registry/DynamicRegistryManager;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
      intermediary method_163 Lnet/minecraft/class_5219;method_163(Lnet/minecraft/class_5455;Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
      official a Leqe;a(Ljw;Lus;)Lus;
    • updateProperties Link icon

      private void updateProperties(DynamicRegistryManager registryManager, NbtCompound levelNbt, @Nullable @Nullable NbtCompound playerNbt)
      Mappings:
      Namespace Name Mixin selector
      named updateProperties Lnet/minecraft/world/level/LevelProperties;updateProperties(Lnet/minecraft/registry/DynamicRegistryManager;Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/nbt/NbtCompound;)V
      intermediary method_158 Lnet/minecraft/class_31;method_158(Lnet/minecraft/class_5455;Lnet/minecraft/class_2487;Lnet/minecraft/class_2487;)V
      official a Leqc;a(Ljw;Lus;Lus;)V
    • createStringList Link icon

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

      public BlockPos getSpawnPos()
      Specified by:
      getSpawnPos in interface WorldProperties
      Mappings:
      Namespace Name Mixin selector
      named getSpawnPos Lnet/minecraft/world/WorldProperties;getSpawnPos()Lnet/minecraft/util/math/BlockPos;
      intermediary method_56126 Lnet/minecraft/class_5217;method_56126()Lnet/minecraft/class_2338;
      official a Lepu;a()Liz;
    • getSpawnAngle Link icon

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

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

      public long getTimeOfDay()
      Specified by:
      getTimeOfDay in interface WorldProperties
      Mappings:
      Namespace Name Mixin selector
      named getTimeOfDay Lnet/minecraft/world/WorldProperties;getTimeOfDay()J
      intermediary method_217 Lnet/minecraft/class_5217;method_217()J
      official d Lepu;d()J
    • getPlayerData Link icon

      @Nullable public @Nullable NbtCompound getPlayerData()
      Specified by:
      getPlayerData in interface SaveProperties
      Mappings:
      Namespace Name Mixin selector
      named getPlayerData Lnet/minecraft/world/SaveProperties;getPlayerData()Lnet/minecraft/nbt/NbtCompound;
      intermediary method_226 Lnet/minecraft/class_5219;method_226()Lnet/minecraft/class_2487;
      official w Leqe;w()Lus;
    • setTime Link icon

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public GameMode getGameMode()
      Specified by:
      getGameMode in interface SaveProperties
      Specified by:
      getGameMode in interface ServerWorldProperties
      Mappings:
      Namespace Name Mixin selector
      named getGameMode Lnet/minecraft/world/level/ServerWorldProperties;getGameMode()Lnet/minecraft/world/GameMode;
      intermediary method_210 Lnet/minecraft/class_5268;method_210()Lnet/minecraft/class_1934;
      official k Leqd;k()Ldbx;
    • setGameMode Link icon

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

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

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

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

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

      public GameRules getGameRules()
      Specified by:
      getGameRules in interface SaveProperties
      Specified by:
      getGameRules in interface WorldProperties
      Mappings:
      Namespace Name Mixin selector
      named getGameRules Lnet/minecraft/world/WorldProperties;getGameRules()Lnet/minecraft/world/GameRules;
      intermediary method_146 Lnet/minecraft/class_5217;method_146()Lnet/minecraft/class_1928;
      official o Lepu;o()Ldbw;
    • getWorldBorder Link icon

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

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

      public Difficulty getDifficulty()
      Specified by:
      getDifficulty in interface SaveProperties
      Specified by:
      getDifficulty in interface WorldProperties
      Mappings:
      Namespace Name Mixin selector
      named getDifficulty Lnet/minecraft/world/WorldProperties;getDifficulty()Lnet/minecraft/world/Difficulty;
      intermediary method_207 Lnet/minecraft/class_5217;method_207()Lnet/minecraft/class_1267;
      official q Lepu;q()Lbqt;
    • setDifficulty Link icon

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

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

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

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

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

      public GeneratorOptions getGeneratorOptions()
      Specified by:
      getGeneratorOptions in interface SaveProperties
      Mappings:
      Namespace Name Mixin selector
      named getGeneratorOptions Lnet/minecraft/world/SaveProperties;getGeneratorOptions()Lnet/minecraft/world/gen/GeneratorOptions;
      intermediary method_28057 Lnet/minecraft/class_5219;method_28057()Lnet/minecraft/class_5285;
      official y Leqe;y()Ldyu;
    • isFlatWorld Link icon

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

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

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

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

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

      public DataConfiguration getDataConfiguration()
      Specified by:
      getDataConfiguration in interface SaveProperties
      Mappings:
      Namespace Name Mixin selector
      named getDataConfiguration Lnet/minecraft/world/SaveProperties;getDataConfiguration()Lnet/minecraft/resource/DataConfiguration;
      intermediary method_29589 Lnet/minecraft/class_5219;method_29589()Lnet/minecraft/class_7712;
      official D Leqe;D()Ldcu;
    • updateLevelInfo Link icon

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

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

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

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

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

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

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

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

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

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

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

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

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

      public ServerWorldProperties getMainWorldProperties()
      Specified by:
      getMainWorldProperties in interface SaveProperties
      Mappings:
      Namespace Name Mixin selector
      named getMainWorldProperties Lnet/minecraft/world/SaveProperties;getMainWorldProperties()Lnet/minecraft/world/level/ServerWorldProperties;
      intermediary method_27859 Lnet/minecraft/class_5219;method_27859()Lnet/minecraft/class_5268;
      official I Leqe;I()Leqd;
    • getLevelInfo Link icon

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