net.minecraft.world.level.storage

public class LevelStorageSource

dyy
net.minecraft.world.level.storage.LevelStorageSource
net.minecraft.class_32
net.minecraft.unmapped.C_bpwagnit
net.minecraft.world.level.storage.LevelStorage
net.minecraft.world.storage.WorldSaveStorage
net.minecraft.src.C_2785_
net.minecraft.world.level.storage.Convertable

Field summary

Modifier and TypeField
static final org.slf4j.Logger
b
LOGGER
field_17665
f_vrvlqdaz
LOGGER
LOGGER
f_78191_
static final DateTimeFormatter
c
FORMATTER
field_200
f_teudzwdn
TIME_FORMATTER
TIME_FORMATTER
f_78192_
private static final com.google.common.collect.ImmutableList<String>
d
OLD_SETTINGS_KEYS
field_25020
f_obbylhph
GENERATOR_OPTION_KEYS
GENERATOR_OPTION_KEYS
f_78193_
private static final String
e
TAG_DATA
field_36348
f_jpohltpc
DATA_KEY
DATA_KEY
f_202311_
private static final PathAllowList
f
NO_SYMLINKS_ALLOWED
field_44951
f_tpniflmb
DEFAULT_ALLOWED_SYMLINK_MATCHER
f_289833_
public static final String
a
ALLOWED_SYMLINKS_CONFIG_NAME
field_44950
f_rcocbkwh
ALLOWED_SYMLINKS_FILE_NAME
f_289824_
private final Path
g
baseDir
field_17666
f_rbwrlarm
savesDirectory
savesDirectory
f_78194_
private final Path
h
backupDir
field_17667
f_ygzgrifg
backupsDirectory
backupsDirectory
f_78195_
final com.mojang.datafixers.DataFixer
i
fixerUpper
field_17668
f_lplhvbwf
dataFixer
dataFixer
f_78196_
private final DirectoryValidator
j
worldDirValidator
field_44952
f_rhxyetit
symlinkFinder
f_289816_

Constructor summary

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

Method summary

Modifier and TypeMethod
public static DirectoryValidator
a(Path arg0)
parseValidator(Path arg0)
method_52235(Path arg0)
m_yekueuyb(Path arg0)
createSymlinkFinder(Path allowedSymlinksFile)
m_289881_(Path p_289968_)
public static LevelStorageSource
b(Path arg0)
createDefault(Path arg0)
method_26999(Path arg0)
m_acbaanbr(Path arg0)
create(Path path)
create(Path path)
m_78242_(Path p_78243_)
private static <T> com.mojang.serialization.DataResult<WorldGenSettings>
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)
m_wegrclwo(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)
readGeneratorProperties(com.mojang.serialization.Dynamic<T> levelData, com.mojang.datafixers.DataFixer dataFixer, int version)
m_247212_(com.mojang.serialization.Dynamic<T> p_251661_, com.mojang.datafixers.DataFixer p_251712_, int p_250368_)
private static WorldDataConfiguration
a(com.mojang.serialization.Dynamic<?> arg0)
readDataConfig(com.mojang.serialization.Dynamic<?> arg0)
method_29580(com.mojang.serialization.Dynamic<?> arg0)
m_xbutxuca(com.mojang.serialization.Dynamic<?> arg0)
parseDataPackSettings(com.mojang.serialization.Dynamic<?> dynamic)
parseFeatureAndDataSettings(com.mojang.serialization.Dynamic<?> dynamic)
m_245610_(com.mojang.serialization.Dynamic<?> p_250884_)
public String
a()
getName()
method_35504()
m_xvdymvqq()
getFormatName()
getFormatName()
m_164909_()
public LevelStorageSource$LevelCandidates
b()
findLevelCandidates()
method_235()
m_ddtuooji()
getLevelList()
getWorldSaveList()
m_230833_()
public CompletableFuture<List<LevelSummary>>
a(dyy$a arg0)
loadLevelSummaries(LevelStorageSource$LevelCandidates arg0)
method_43417(class_32$class_7410 arg0)
m_wspekgur(C_bpwagnit$C_aynhbbal arg0)
loadSummaries(LevelStorage$LevelList levels)
loadSummaries(WorldSaveStorage$WorldList worldSaves)
m_230813_(C_2785_$C_213318_ arg0)
private int
f()
getStorageVersion()
method_17931()
m_ovbzmrty()
getCurrentVersion()
getCurrentVersion()
m_78265_()
<T> T
a(dyy$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)
m_kqxywods(C_bpwagnit$C_wxntpspm arg0, BiFunction<Path, com.mojang.datafixers.DataFixer, T> arg1)
readLevelProperties(LevelStorage$LevelSave levelSave, BiFunction<Path, com.mojang.datafixers.DataFixer, T> levelDataParser)
readWorldSaveProperties(WorldSaveStorage$WorldDirectory directory, BiFunction<Path, com.mojang.datafixers.DataFixer, T> levelDataParser)
m_230817_(C_2785_$C_213319_ p_230819_, BiFunction<Path, com.mojang.datafixers.DataFixer, T> arg1)
private static WorldDataConfiguration
a(Path arg0, com.mojang.datafixers.DataFixer arg1)
getDataConfiguration(Path arg0, com.mojang.datafixers.DataFixer arg1)
method_29583(Path arg0, com.mojang.datafixers.DataFixer arg1)
m_luaijwph(Path arg0, com.mojang.datafixers.DataFixer arg1)
readDataPackSettings(Path path, com.mojang.datafixers.DataFixer dataFixer)
parseFeatureAndDataSettings(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, com.mojang.datafixers.util.Pair<WorldData, WorldDimensions$Complete>>
a(com.mojang.serialization.DynamicOps<rk> arg0, cnf arg1, hr<dfl> arg2, com.mojang.serialization.Lifecycle arg3)
getLevelData(com.mojang.serialization.DynamicOps<Tag> arg0, WorldDataConfiguration arg1, Registry<LevelStem> arg2, com.mojang.serialization.Lifecycle arg3)
method_17926(com.mojang.serialization.DynamicOps<class_2520> arg0, class_7712 arg1, class_2378<class_5363> arg2, com.mojang.serialization.Lifecycle arg3)
m_dugbwxzi(com.mojang.serialization.DynamicOps<C_oivssbvb> arg0, C_yknpgzdr arg1, C_tqxyjqsk<C_alziuayn> arg2, com.mojang.serialization.Lifecycle arg3)
createLevelDataParser(com.mojang.serialization.DynamicOps<NbtElement> ops, DataConfiguration dataConfiguration, Registry<DimensionOptions> dimensionOptionsRegistry, com.mojang.serialization.Lifecycle lifecycle)
createWorldDataParser(com.mojang.serialization.DynamicOps<NbtElement> ops, FeatureAndDataSettings arg1, Registry<DimensionOptions> registry, com.mojang.serialization.Lifecycle lifecycle)
m_245503_(com.mojang.serialization.DynamicOps<C_4950_> p_250592_, C_243530_ p_249054_, C_4705_<C_2176_> p_249363_, com.mojang.serialization.Lifecycle p_251214_)
BiFunction<Path, com.mojang.datafixers.DataFixer, LevelSummary>
a(dyy$b arg0, boolean arg1)
levelSummaryReader(LevelStorageSource$LevelDirectory arg0, boolean arg1)
method_29014(class_32$class_7411 arg0, boolean arg1)
m_dekygopt(C_bpwagnit$C_wxntpspm arg0, boolean arg1)
createLevelDataParser(LevelStorage$LevelSave levelSave, boolean locked)
createWorldDataParser(WorldSaveStorage$WorldDirectory directory, boolean locked)
m_230820_(C_2785_$C_213319_ p_230822_, boolean arg1)
private static FeatureFlagSet
b(com.mojang.serialization.Dynamic<?> arg0)
parseFeatureFlagsFromSummary(com.mojang.serialization.Dynamic<?> arg0)
method_45552(com.mojang.serialization.Dynamic<?> arg0)
m_hqcuaqjn(com.mojang.serialization.Dynamic<?> arg0)
parseEnabledFeatures(com.mojang.serialization.Dynamic<?> levelData)
getEnabledFeatures(com.mojang.serialization.Dynamic<?> dynamic)
m_247076_(com.mojang.serialization.Dynamic<?> p_249466_)
private static Tag
c(Path arg0)
readLightweightData(Path arg0)
method_40035(Path arg0)
m_kbwceymw(Path arg0)
loadCompactLevelData(Path path)
loadCompactWorldData(Path path)
m_230836_(Path p_230837_)
public boolean
a(String arg0)
isNewLevelIdAcceptable(String arg0)
method_240(String arg0)
m_tcjbtdab(String arg0)
isLevelNameValid(String name)
isWorldNameValid(String name)
m_78240_(String arg0)
public boolean
b(String arg0)
levelExists(String arg0)
method_230(String arg0)
m_nieswrje(String arg0)
levelExists(String name)
worldSaveExists(String name)
m_78255_(String arg0)
private Path
e(String arg0)
getLevelPath(String arg0)
method_52238(String arg0)
m_xnikwmwt(String arg0)
resolve(String name)
m_289874_(String arg0)
public Path
c()
getBaseDir()
method_19636()
m_wewggpif()
getSavesDirectory()
getSavesDirectory()
m_78257_()
public Path
d()
getBackupPath()
method_236()
m_pxqlqsgm()
getBackupsDirectory()
getBackupsDirectory()
m_78262_()
public LevelStorageSource$LevelStorageAccess
c(String arg0)
validateAndCreateAccess(String arg0)
method_52236(String arg0)
m_vtcefrig(String arg0)
createSession(String directoryName)
m_289864_(String arg0)
public LevelStorageSource$LevelStorageAccess
d(String arg0)
createAccess(String arg0)
method_27002(String arg0)
m_mglixzcz(String arg0)
createSessionWithoutSymlinkCheck(String directoryName)
createSession(String directoryName)
m_78260_(String arg0)
public DirectoryValidator
e()
getWorldDirValidator()
method_52237()
m_hzomuijm()
getSymlinkFinder()
m_289863_()