Interface IServerConfiguration

All Known Implementing Classes:
ServerWorldInfo

public interface IServerConfiguration
  • Method Details

    • getDataPackConfig

      DatapackCodec getDataPackConfig()
    • setDataPackConfig

      void setDataPackConfig(DatapackCodec p_230410_1_)
    • wasModded

      boolean wasModded()
    • getKnownServerBrands

      Set<String> getKnownServerBrands()
    • setModdedInfo

      void setModdedInfo(String p_230412_1_, boolean p_230412_2_)
    • fillCrashReportCategory

      default void fillCrashReportCategory(CrashReportCategory p_85118_1_)
    • getStorageVersionName

      default String getStorageVersionName(int p_237379_1_)
    • getCustomBossEvents

      @Nullable CompoundNBT getCustomBossEvents()
    • setCustomBossEvents

      void setCustomBossEvents(@Nullable CompoundNBT p_230414_1_)
    • overworldData

      IServerWorldInfo overworldData()
    • getLevelSettings

      WorldSettings getLevelSettings()
    • createTag

      CompoundNBT createTag(DynamicRegistries p_230411_1_, @Nullable CompoundNBT p_230411_2_)
    • isHardcore

      boolean isHardcore()
    • getVersion

      int getVersion()
    • getLevelName

      String getLevelName()
    • getGameType

      GameType getGameType()
    • setGameType

      void setGameType(GameType p_230392_1_)
    • getAllowCommands

      boolean getAllowCommands()
    • getDifficulty

      Difficulty getDifficulty()
    • setDifficulty

      void setDifficulty(Difficulty p_230409_1_)
    • isDifficultyLocked

      boolean isDifficultyLocked()
    • setDifficultyLocked

      void setDifficultyLocked(boolean p_230415_1_)
    • getGameRules

      GameRules getGameRules()
    • getLoadedPlayerTag

      CompoundNBT getLoadedPlayerTag()
    • endDragonFightData

      CompoundNBT endDragonFightData()
    • setEndDragonFightData

      void setEndDragonFightData(CompoundNBT p_230413_1_)
    • worldGenSettings

      DimensionGeneratorSettings worldGenSettings()
    • worldGenSettingsLifecycle

      com.mojang.serialization.Lifecycle worldGenSettingsLifecycle()