net.minecraft.world.level.storage

public class LevelStorageSource

evg
net.minecraft.world.level.storage.LevelStorageSource
net.minecraft.class_32
net.minecraft.world.level.storage.LevelStorage
net.minecraft.world.level.storage.Convertable

Field summary

Modifier and TypeField
static final org.slf4j.Logger
c
LOGGER
field_17665
LOGGER
static final DateTimeFormatter
d
FORMATTER
field_200
TIME_FORMATTER
public static final String
a
TAG_DATA
field_36348
DATA_KEY
private static final PathMatcher
e
NO_SYMLINKS_ALLOWED
field_44951
DEFAULT_ALLOWED_SYMLINK_MATCHER
public static final String
b
ALLOWED_SYMLINKS_CONFIG_NAME
field_44950
ALLOWED_SYMLINKS_FILE_NAME
private static final int
f
UNCOMPRESSED_NBT_QUOTA
field_46830
MAX_LEVEL_DATA_SIZE
private static final int
g
DISK_SPACE_WARNING_THRESHOLD
field_49426
RECOMMENDED_USABLE_SPACE_BYTES
private final Path
h
baseDir
field_17666
savesDirectory
private final Path
i
backupDir
field_17667
backupsDirectory
final com.mojang.datafixers.DataFixer
j
fixerUpper
field_17668
dataFixer
private final DirectoryValidator
k
worldDirValidator
field_44952
symlinkFinder

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)
createSymlinkFinder(Path allowedSymlinksFile)
public static LevelStorageSource
b(Path arg0)
createDefault(Path arg0)
method_26999(Path arg0)
create(Path path)
public static WorldDataConfiguration
a(com.mojang.serialization.Dynamic<?> arg0)
readDataConfig(com.mojang.serialization.Dynamic<?> arg0)
method_29580(com.mojang.serialization.Dynamic<?> arg0)
parseDataPackSettings(com.mojang.serialization.Dynamic<?> dynamic)
public static WorldLoader$PackConfig
a(com.mojang.serialization.Dynamic<?> arg0, aua 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)
parseDataPacks(com.mojang.serialization.Dynamic<?> dynamic, ResourcePackManager dataPackManager, boolean safeMode)
public static LevelDataAndDimensions
a(com.mojang.serialization.Dynamic<?> arg0, dhg arg1, ke<eau> arg2, jt$a arg3)
getLevelDataAndDimensions(com.mojang.serialization.Dynamic<?> arg0, WorldDataConfiguration arg1, Registry<LevelStem> arg2, HolderLookup$Provider arg3)
method_54523(com.mojang.serialization.Dynamic<?> arg0, class_7712 arg1, class_2378<class_5363> arg2, class_7225$class_7874 arg3)
parseSaveProperties(com.mojang.serialization.Dynamic<?> dynamic, DataConfiguration dataConfiguration, Registry<DimensionOptions> dimensionsRegistry, RegistryWrapper$WrapperLookup registries)
public String
a()
getName()
method_35504()
getFormatName()
public LevelStorageSource$LevelCandidates
b()
findLevelCandidates()
method_235()
getLevelList()
public CompletableFuture<List<LevelSummary>>
a(evg$a arg0)
loadLevelSummaries(LevelStorageSource$LevelCandidates arg0)
method_43417(class_32$class_7410 arg0)
loadSummaries(LevelStorage$LevelList levels)
private int
f()
getStorageVersion()
method_17931()
getCurrentVersion()
static CompoundTag
c(Path arg0)
readLevelDataTagRaw(Path arg0)
method_54529(Path arg0)
readLevelProperties(Path path)
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)
readLevelProperties(Path path, com.mojang.datafixers.DataFixer dataFixer)
private LevelSummary
a(evg$b arg0, boolean arg1)
readLevelSummary(LevelStorageSource$LevelDirectory arg0, boolean arg1)
method_54527(class_32$class_7411 arg0, boolean arg1)
readSummary(LevelStorage$LevelSave save, boolean locked)
private static long
a(evg$b arg0)
getFileModificationTime(LevelStorageSource$LevelDirectory arg0)
method_54526(class_32$class_7411 arg0)
getLastModifiedTime(LevelStorage$LevelSave save)
static Instant
d(Path arg0)
getFileModificationTime(Path arg0)
method_54530(Path arg0)
getLastModifiedTime(Path path)
LevelSummary
a(com.mojang.serialization.Dynamic<?> arg0, evg$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)
parseSummary(com.mojang.serialization.Dynamic<?> dynamic, LevelStorage$LevelSave save, boolean locked)
private static FeatureFlagSet
b(com.mojang.serialization.Dynamic<?> arg0)
parseFeatureFlagsFromSummary(com.mojang.serialization.Dynamic<?> arg0)
method_45552(com.mojang.serialization.Dynamic<?> arg0)
parseEnabledFeatures(com.mojang.serialization.Dynamic<?> levelData)
private static Tag
e(Path arg0)
readLightweightData(Path arg0)
method_40035(Path arg0)
loadCompactLevelData(Path path)
public boolean
a(String arg0)
isNewLevelIdAcceptable(String arg0)
method_240(String arg0)
isLevelNameValid(String name)
public boolean
b(String arg0)
levelExists(String arg0)
method_230(String arg0)
levelExists(String name)
public Path
c(String arg0)
getLevelPath(String arg0)
method_52238(String arg0)
resolve(String name)
public Path
c()
getBaseDir()
method_19636()
getSavesDirectory()
public Path
d()
getBackupPath()
method_236()
getBackupsDirectory()
public LevelStorageSource$LevelStorageAccess
d(String arg0)
validateAndCreateAccess(String arg0)
method_52236(String arg0)
createSession(String directoryName)
public LevelStorageSource$LevelStorageAccess
e(String arg0)
createAccess(String arg0)
method_27002(String arg0)
createSessionWithoutSymlinkCheck(String directoryName)
public DirectoryValidator
e()
getWorldDirValidator()
method_52237()
getSymlinkFinder()