Interface IServerConfiguration

  • All Known Implementing Classes:
    ServerWorldInfo

    public interface IServerConfiguration
    • Method Detail

      • setDataPackConfig

        void setDataPackConfig​(DatapackCodec p_230410_1_)
      • wasModded

        boolean wasModded()
      • getKnownServerBrands

        java.util.Set<java.lang.String> getKnownServerBrands()
      • setModdedInfo

        void setModdedInfo​(java.lang.String p_230412_1_,
                           boolean p_230412_2_)
      • fillCrashReportCategory

        default void fillCrashReportCategory​(CrashReportCategory p_85118_1_)
      • getStorageVersionName

        default java.lang.String getStorageVersionName​(int p_237379_1_)
      • getCustomBossEvents

        @Nullable
        CompoundNBT getCustomBossEvents()
      • setCustomBossEvents

        void setCustomBossEvents​(@Nullable
                                 CompoundNBT p_230414_1_)
      • isHardcore

        boolean isHardcore()
      • getVersion

        int getVersion()
      • getLevelName

        java.lang.String getLevelName()
      • setGameType

        void setGameType​(GameType p_230392_1_)
      • getAllowCommands

        boolean getAllowCommands()
      • setDifficulty

        void setDifficulty​(Difficulty p_230409_1_)
      • isDifficultyLocked

        boolean isDifficultyLocked()
      • setDifficultyLocked

        void setDifficultyLocked​(boolean p_230415_1_)
      • setEndDragonFightData

        void setEndDragonFightData​(CompoundNBT p_230413_1_)
      • worldGenSettingsLifecycle

        com.mojang.serialization.Lifecycle worldGenSettingsLifecycle()