net.minecraft.world.level.storage

public class LevelStorageSource

drq
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.slf4j.Logger
a
LOGGER
field_17665
LOGGER
f_78191_
static final DateTimeFormatter
b
FORMATTER
field_200
TIME_FORMATTER
f_78192_
private static final com.google.common.collect.ImmutableList<String>
c
OLD_SETTINGS_KEYS
field_25020
GENERATOR_OPTION_KEYS
f_78193_
private static final String
d
TAG_DATA
field_36348
DATA_KEY
f_202311_
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<?> dynamic)
m_78202_(com.mojang.serialization.Dynamic<?> p_78203_)
public String
a()
getName()
method_35504()
getFormatName()
m_164909_()
public LevelStorageSource$LevelCandidates
b()
findLevelCandidates()
method_235()
getLevelList()
m_230833_()
public CompletableFuture<List<LevelSummary>>
a(drq$a arg0)
loadLevelSummaries(LevelStorageSource$LevelCandidates arg0)
method_43417(class_32$class_7410 arg0)
loadSummaries(LevelStorage$LevelList levels)
m_230813_(C_213318_ arg0)
private int
e()
getStorageVersion()
method_17931()
getCurrentVersion()
m_78265_()
<T> T
a(drq$b arg0, BiFunction<Path, com.mojang.datafixers.DataFixer, T> arg1)
readLevelData(LevelStorageSource$LevelDirectory arg0, BiFunction<Path, com.mojang.datafixers.DataFixer, T> arg1)
method_26998(class_32$class_7411 arg0, BiFunction<Path, com.mojang.datafixers.DataFixer, T> arg1)
readLevelProperties(LevelStorage$LevelSave levelSave, BiFunction<Path, com.mojang.datafixers.DataFixer, T> levelDataParser)
m_230817_(C_213319_ p_230819_, BiFunction<Path, com.mojang.datafixers.DataFixer, T> arg1)
private static DataPackConfig
a(Path arg0, com.mojang.datafixers.DataFixer arg1)
getDataPacks(Path arg0, com.mojang.datafixers.DataFixer arg1)
method_29583(Path arg0, com.mojang.datafixers.DataFixer arg1)
readDataPackSettings(Path path, com.mojang.datafixers.DataFixer dataFixer)
m_230828_(Path p_230829_, com.mojang.datafixers.DataFixer p_230830_)
static BiFunction<Path, com.mojang.datafixers.DataFixer, PrimaryLevelData>
a(com.mojang.serialization.DynamicOps<qc> arg0, cgl arg1, com.mojang.serialization.Lifecycle arg2)
getLevelData(com.mojang.serialization.DynamicOps<Tag> arg0, DataPackConfig arg1, com.mojang.serialization.Lifecycle arg2)
method_17926(com.mojang.serialization.DynamicOps<class_2520> arg0, class_5359 arg1, com.mojang.serialization.Lifecycle arg2)
createLevelDataParser(com.mojang.serialization.DynamicOps<NbtElement> ops, DataPackSettings dataPackSettings, com.mojang.serialization.Lifecycle lifecycle)
m_211737_(com.mojang.serialization.DynamicOps<C_4950_> p_211738_, C_1573_ p_211739_, com.mojang.serialization.Lifecycle p_211740_)
BiFunction<Path, com.mojang.datafixers.DataFixer, LevelSummary>
a(drq$b arg0, boolean arg1)
levelSummaryReader(LevelStorageSource$LevelDirectory arg0, boolean arg1)
method_29014(class_32$class_7411 arg0, boolean arg1)
createLevelDataParser(LevelStorage$LevelSave levelSave, boolean locked)
m_230820_(C_213319_ p_230822_, boolean arg1)
private static Tag
b(Path arg0)
readLightweightData(Path arg0)
method_40035(Path arg0)
loadCompactLevelData(Path path)
m_230836_(Path p_230837_)
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)