net.minecraft.world.level.storage

public class LevelStorageSource

erf
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 String
d
TAG_DATA
field_36348
f_jpohltpc
DATA_KEY
DATA_KEY
f_202311_
private static final PathMatcher
e
NO_SYMLINKS_ALLOWED
field_44951
f_tpniflmb
DEFAULT_ALLOWED_SYMLINK_MATCHER
PATH_MATCHER
f_289833_
public static final String
a
ALLOWED_SYMLINKS_CONFIG_NAME
field_44950
f_rcocbkwh
ALLOWED_SYMLINKS_FILE_NAME
ALLOWED_SYMLINKS_FILE_NAME
f_289824_
private static final int
f
UNCOMPRESSED_NBT_QUOTA
field_46830
f_wzpaofys
MAX_LEVEL_DATA_SIZE
MAX_LEVEL_DATA_SIZE
f_302867_
private static final int
g
DISK_SPACE_WARNING_THRESHOLD
field_49426
f_dgohnkjg
RECOMMENDED_USABLE_SPACE_BYTES
DISK_SPACE_WARNING_THRESHOLD
f_316115_
private final Path
h
baseDir
field_17666
f_rbwrlarm
savesDirectory
savesDirectory
f_78194_
private final Path
i
backupDir
field_17667
f_ygzgrifg
backupsDirectory
backupsDirectory
f_78195_
final com.mojang.datafixers.DataFixer
j
fixerUpper
field_17668
f_lplhvbwf
dataFixer
dataFixer
f_78196_
private final DirectoryValidator
k
worldDirValidator
field_44952
f_rhxyetit
symlinkFinder
symlinkValidator
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)
getSymlinkValidator(Path file)
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_)
public 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 static WorldLoader$PackConfig
a(com.mojang.serialization.Dynamic<?> arg0, atp arg1, boolean arg2)
getPackConfig(com.mojang.serialization.Dynamic<?> arg0, PackRepository arg1, boolean arg2)
method_54522(com.mojang.serialization.Dynamic<?> arg0, class_3283 arg1, boolean arg2)
m_odvtcuen(com.mojang.serialization.Dynamic<?> arg0, C_dqfyacfy arg1, boolean arg2)
parseDataPacks(com.mojang.serialization.Dynamic<?> dynamic, ResourcePackManager dataPackManager, boolean safeMode)
getPackConfig(com.mojang.serialization.Dynamic<?> dynamic, PackManager packManager, boolean safeMode)
m_305246_(com.mojang.serialization.Dynamic<?> p_312675_, C_62_ p_309764_, boolean p_310223_)
public static LevelDataAndDimensions
a(com.mojang.serialization.Dynamic<?> arg0, ddr arg1, jz<dwz> arg2, ka$b arg3)
getLevelDataAndDimensions(com.mojang.serialization.Dynamic<?> arg0, WorldDataConfiguration arg1, Registry<LevelStem> arg2, RegistryAccess$Frozen arg3)
method_54523(com.mojang.serialization.Dynamic<?> arg0, class_7712 arg1, class_2378<class_5363> arg2, class_5455$class_6890 arg3)
m_lcpzaqzh(com.mojang.serialization.Dynamic<?> arg0, C_yknpgzdr arg1, C_tqxyjqsk<C_alziuayn> arg2, C_wqxmvzdq$C_ggmzysrd arg3)
parseSaveProperties(com.mojang.serialization.Dynamic<?> dynamic, DataConfiguration dataConfiguration, Registry<DimensionOptions> dimensionsRegistry, DynamicRegistryManager$Immutable registryManager)
m_lcpzaqzh(com.mojang.serialization.Dynamic<?> dynamic, FeatureAndDataSettings featureAndDataSettings, Registry<DimensionOptions> registry, DynamicRegistryManager$Frozen lookupProvider)
m_306102_(com.mojang.serialization.Dynamic<?> p_311362_, C_243530_ p_311014_, C_4705_<C_2176_> p_311619_, C_4706_$C_203240_ p_313214_)
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(erf$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_()
static CompoundTag
c(Path arg0)
readLevelDataTagRaw(Path arg0)
method_54529(Path arg0)
m_cycihmpm(Path arg0)
readLevelProperties(Path path)
m_cycihmpm(Path path)
m_305304_(Path p_312857_)
static com.mojang.serialization.Dynamic<?>
a(Path arg0, com.mojang.datafixers.DataFixer arg1)
readLevelDataTagFixed(Path arg0, com.mojang.datafixers.DataFixer arg1)
method_54528(Path arg0, com.mojang.datafixers.DataFixer arg1)
m_itogwxmw(Path arg0, com.mojang.datafixers.DataFixer arg1)
readLevelProperties(Path path, com.mojang.datafixers.DataFixer dataFixer)
m_itogwxmw(Path path, com.mojang.datafixers.DataFixer dataFixer)
m_306158_(Path p_309458_, com.mojang.datafixers.DataFixer p_312702_)
private LevelSummary
a(erf$b arg0, boolean arg1)
readLevelSummary(LevelStorageSource$LevelDirectory arg0, boolean arg1)
method_54527(class_32$class_7411 arg0, boolean arg1)
m_sidycthv(C_bpwagnit$C_wxntpspm arg0, boolean arg1)
readSummary(LevelStorage$LevelSave save, boolean locked)
m_306052_(C_2785_$C_213319_ p_312081_, boolean arg1)
private static long
a(erf$b arg0)
getFileModificationTime(LevelStorageSource$LevelDirectory arg0)
method_54526(class_32$class_7411 arg0)
m_hbzcibdu(C_bpwagnit$C_wxntpspm arg0)
getLastModifiedTime(LevelStorage$LevelSave save)
m_307617_(C_2785_$C_213319_ p_311230_)
static Instant
d(Path arg0)
getFileModificationTime(Path arg0)
method_54530(Path arg0)
m_pfuopsyy(Path arg0)
getLastModifiedTime(Path path)
m_pfuopsyy(Path path)
m_306357_(Path p_313101_)
LevelSummary
a(com.mojang.serialization.Dynamic<?> arg0, erf$b arg1, boolean arg2)
makeLevelSummary(com.mojang.serialization.Dynamic<?> arg0, LevelStorageSource$LevelDirectory arg1, boolean arg2)
method_54524(com.mojang.serialization.Dynamic<?> arg0, class_32$class_7411 arg1, boolean arg2)
m_mcpdpjml(com.mojang.serialization.Dynamic<?> arg0, C_bpwagnit$C_wxntpspm arg1, boolean arg2)
parseSummary(com.mojang.serialization.Dynamic<?> dynamic, LevelStorage$LevelSave save, boolean locked)
m_mcpdpjml(com.mojang.serialization.Dynamic<?> dynamic, WorldSaveStorage$WorldDirectory arg1, boolean arg2)
m_306201_(com.mojang.serialization.Dynamic<?> p_309842_, C_2785_$C_213319_ p_310644_, boolean arg2)
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
e(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)
public Path
c(String arg0)
getLevelPath(String arg0)
method_52238(String arg0)
m_xnikwmwt(String arg0)
resolve(String name)
getSavePath(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
d(String arg0)
validateAndCreateAccess(String arg0)
method_52236(String arg0)
m_vtcefrig(String arg0)
createSession(String directoryName)
createSession(String name)
m_289864_(String arg0)
public LevelStorageSource$LevelStorageAccess
e(String arg0)
createAccess(String arg0)
method_27002(String arg0)
m_mglixzcz(String arg0)
createSessionWithoutSymlinkCheck(String directoryName)
createUncheckedSession(String name)
m_78260_(String arg0)
public DirectoryValidator
e()
getWorldDirValidator()
method_52237()
m_hzomuijm()
getSymlinkFinder()
getSymlinkValidator()
m_289863_()