net.minecraft.world.level.storage

public class LevelStorageSource

djn
net.minecraft.world.level.storage.LevelStorageSource
net.minecraft.class_32
net.minecraft.world.level.storage.LevelStorage
net.minecraft.src.C_2785_
net.minecraft.world.level.storage.Convertable

Field summary

Modifier and TypeField
static final org.apache.logging.log4j.Logger
a
LOGGER
field_17665
LOGGER
f_78191_
static final DateTimeFormatter
b
FORMATTER
field_200
TIME_FORMATTER
f_78192_
private static final String
c
ICON_FILENAME
field_31836
DEFAULT_ICON
f_164908_
private static final com.google.common.collect.ImmutableList<String>
d
OLD_SETTINGS_KEYS
field_25020
GENERATOR_OPTION_KEYS
f_78193_
final Path
e
baseDir
field_17666
savesDirectory
f_78194_
private final Path
f
backupDir
field_17667
backupsDirectory
f_78195_
final com.mojang.datafixers.DataFixer
g
fixerUpper
field_17668
dataFixer
f_78196_

Constructor summary

ModifierConstructor
public (Path savesDirectory, Path backupsDirectory, com.mojang.datafixers.DataFixer dataFixer)

Method summary

Modifier and TypeMethod
public static LevelStorageSource
a(Path arg0)
createDefault(Path arg0)
method_26999(Path arg0)
create(Path path)
m_78242_(Path p_78243_)
private static <T> com.mojang.datafixers.util.Pair<WorldGenSettings, com.mojang.serialization.Lifecycle>
a(com.mojang.serialization.Dynamic<T> arg0, com.mojang.datafixers.DataFixer arg1, int arg2)
readWorldGenSettings(com.mojang.serialization.Dynamic<T> arg0, com.mojang.datafixers.DataFixer arg1, int arg2)
method_29010(com.mojang.serialization.Dynamic<T> arg0, com.mojang.datafixers.DataFixer arg1, int arg2)
readGeneratorProperties(com.mojang.serialization.Dynamic<T> levelData, com.mojang.datafixers.DataFixer dataFixer, int version)
m_78204_(com.mojang.serialization.Dynamic<T> p_78205_, com.mojang.datafixers.DataFixer p_78206_, int p_78207_)
private static DataPackConfig
a(com.mojang.serialization.Dynamic<?> arg0)
readDataPackConfig(com.mojang.serialization.Dynamic<?> arg0)
method_29580(com.mojang.serialization.Dynamic<?> arg0)
parseDataPackSettings(com.mojang.serialization.Dynamic<?> arg0)
m_78202_(com.mojang.serialization.Dynamic<?> p_78203_)
public String
a()
getName()
method_35504()
getFormatName()
m_164909_()
public List<LevelSummary>
b()
getLevelList()
method_235()
getLevelList()
m_78244_()
private int
e()
getStorageVersion()
method_17931()
getCurrentVersion()
m_78265_()
<T> T
a(File arg0, BiFunction<File, com.mojang.datafixers.DataFixer, T> arg1)
readLevelData(File arg0, BiFunction<File, com.mojang.datafixers.DataFixer, T> arg1)
method_26998(File arg0, BiFunction<File, com.mojang.datafixers.DataFixer, T> arg1)
readLevelProperties(File file, BiFunction<File, com.mojang.datafixers.DataFixer, T> levelDataParser)
m_78229_(File p_78231_, BiFunction<File, com.mojang.datafixers.DataFixer, T> arg1)
private static DataPackConfig
a(File arg0, com.mojang.datafixers.DataFixer arg1)
getDataPacks(File arg0, com.mojang.datafixers.DataFixer arg1)
method_29583(File arg0, com.mojang.datafixers.DataFixer arg1)
readDataPackSettings(File file, com.mojang.datafixers.DataFixer dataFixer)
m_78252_(File p_78253_, com.mojang.datafixers.DataFixer p_78254_)
static BiFunction<File, com.mojang.datafixers.DataFixer, PrimaryLevelData>
a(com.mojang.serialization.DynamicOps<ov> arg0, bzr arg1)
getLevelData(com.mojang.serialization.DynamicOps<Tag> arg0, DataPackConfig arg1)
method_17926(com.mojang.serialization.DynamicOps<class_2520> arg0, class_5359 arg1)
createLevelDataParser(com.mojang.serialization.DynamicOps<NbtElement> arg0, DataPackSettings dataPackSettings)
m_78247_(com.mojang.serialization.DynamicOps<C_4950_> p_78248_, C_1573_ p_78249_)
BiFunction<File, com.mojang.datafixers.DataFixer, LevelSummary>
a(File arg0, boolean arg1)
levelSummaryReader(File arg0, boolean arg1)
method_29014(File arg0, boolean arg1)
createLevelDataParser(File file, boolean locked)
m_78232_(File p_78234_, boolean arg1)
public boolean
a(String arg0)
isNewLevelIdAcceptable(String arg0)
method_240(String arg0)
isLevelNameValid(String name)
m_78240_(String arg0)
public boolean
b(String arg0)
levelExists(String arg0)
method_230(String arg0)
levelExists(String name)
m_78255_(String arg0)
public Path
c()
getBaseDir()
method_19636()
getSavesDirectory()
m_78257_()
public Path
d()
getBackupPath()
method_236()
getBackupsDirectory()
m_78262_()
public LevelStorageSource$LevelStorageAccess
c(String arg0)
createAccess(String arg0)
method_27002(String arg0)
createSession(String directoryName)
m_78260_(String arg0)