Interface ServerLevelData

All Superinterfaces:
LevelData, WritableLevelData
All Known Implementing Classes:
DerivedLevelData, PrimaryLevelData

public interface ServerLevelData extends WritableLevelData
  • Method Details

    • getLevelName

      String getLevelName()
    • setThundering

      void setThundering(boolean p_78623_)
    • getRainTime

      int getRainTime()
    • setRainTime

      void setRainTime(int p_78627_)
    • setThunderTime

      void setThunderTime(int p_78626_)
    • getThunderTime

      int getThunderTime()
    • fillCrashReportCategory

      default void fillCrashReportCategory(CrashReportCategory p_164976_, LevelHeightAccessor p_164977_)
      Specified by:
      fillCrashReportCategory in interface LevelData
    • getClearWeatherTime

      int getClearWeatherTime()
    • setClearWeatherTime

      void setClearWeatherTime(int p_78616_)
    • getWanderingTraderSpawnDelay

      int getWanderingTraderSpawnDelay()
    • setWanderingTraderSpawnDelay

      void setWanderingTraderSpawnDelay(int p_78628_)
    • getWanderingTraderSpawnChance

      int getWanderingTraderSpawnChance()
    • setWanderingTraderSpawnChance

      void setWanderingTraderSpawnChance(int p_78629_)
    • getWanderingTraderId

      @Nullable UUID getWanderingTraderId()
    • setWanderingTraderId

      void setWanderingTraderId(UUID p_78620_)
    • getGameType

      GameType getGameType()
    • setWorldBorder

      void setWorldBorder(WorldBorder.Settings p_78619_)
    • getWorldBorder

      WorldBorder.Settings getWorldBorder()
    • isInitialized

      boolean isInitialized()
    • setInitialized

      void setInitialized(boolean p_78625_)
    • isAllowCommands

      boolean isAllowCommands()
    • setGameType

      void setGameType(GameType p_78618_)
    • getScheduledEvents

      TimerQueue<MinecraftServer> getScheduledEvents()
    • setGameTime

      void setGameTime(long p_78617_)
    • setDayTime

      void setDayTime(long p_78624_)