Interface WorldData

All Known Implementing Classes:
PrimaryLevelData

public interface WorldData
  • Field Details

  • Method Details

    • getDataPackConfig

      DataPackConfig getDataPackConfig()
    • setDataPackConfig

      void setDataPackConfig(DataPackConfig p_78634_)
    • wasModded

      boolean wasModded()
    • getKnownServerBrands

      Set<String> getKnownServerBrands()
    • 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_)
    • getAllowCommands

      boolean getAllowCommands()
    • getDifficulty

      Difficulty getDifficulty()
    • setDifficulty

      void setDifficulty(Difficulty p_78633_)
    • isDifficultyLocked

      boolean isDifficultyLocked()
    • setDifficultyLocked

      void setDifficultyLocked(boolean p_78645_)
    • getGameRules

      GameRules getGameRules()
    • getLoadedPlayerTag

      CompoundTag getLoadedPlayerTag()
    • endDragonFightData

      CompoundTag endDragonFightData()
    • setEndDragonFightData

      void setEndDragonFightData(CompoundTag p_78641_)
    • worldGenSettings

      WorldGenSettings worldGenSettings()
    • worldGenSettingsLifecycle

      com.mojang.serialization.Lifecycle worldGenSettingsLifecycle()