Interface WorldData

All Known Implementing Classes:
PrimaryLevelData

public interface WorldData
  • Field Details

  • Method Details

    • getDataConfiguration

      WorldDataConfiguration getDataConfiguration()
    • setDataConfiguration

      void setDataConfiguration(WorldDataConfiguration p_250014_)
    • wasModded

      boolean wasModded()
    • getKnownServerBrands

      Set<String> getKnownServerBrands()
    • getRemovedFeatureFlags

      Set<String> getRemovedFeatureFlags()
    • setModdedInfo

      void setModdedInfo(String p_78638_, boolean p_78639_)
    • fillCrashReportCategory

      default void fillCrashReportCategory(CrashReportCategory p_78640_)
    • getStorageVersionName

      default String getStorageVersionName(int p_78647_)
    • getCustomBossEvents

      @Nullable CompoundTag getCustomBossEvents()
    • setCustomBossEvents

      void setCustomBossEvents(@Nullable CompoundTag p_78643_)
    • overworldData

      ServerLevelData overworldData()
    • getLevelSettings

      LevelSettings getLevelSettings()
    • createTag

      CompoundTag createTag(RegistryAccess p_78636_, @Nullable CompoundTag p_78637_)
    • isHardcore

      boolean isHardcore()
    • getVersion

      int getVersion()
    • getLevelName

      String getLevelName()
    • getGameType

      GameType getGameType()
    • setGameType

      void setGameType(GameType p_78635_)
    • isAllowCommands

      boolean isAllowCommands()
    • getDifficulty

      Difficulty getDifficulty()
    • setDifficulty

      void setDifficulty(Difficulty p_78633_)
    • isDifficultyLocked

      boolean isDifficultyLocked()
    • setDifficultyLocked

      void setDifficultyLocked(boolean p_78645_)
    • getGameRules

      GameRules getGameRules()
    • getLoadedPlayerTag

      @Nullable CompoundTag getLoadedPlayerTag()
    • endDragonFightData

      EndDragonFight.Data endDragonFightData()
    • setEndDragonFightData

      void setEndDragonFightData(EndDragonFight.Data p_289783_)
    • worldGenOptions

      WorldOptions worldGenOptions()
    • isFlatWorld

      boolean isFlatWorld()
    • isDebugWorld

      boolean isDebugWorld()
    • worldGenSettingsLifecycle

      com.mojang.serialization.Lifecycle worldGenSettingsLifecycle()
    • enabledFeatures

      default FeatureFlagSet enabledFeatures()