net.minecraft.world.level.storage

public class LevelStorageSource$LevelStorageAccess

implements AutoCloseable

ewd$c
net.minecraft.world.level.storage.LevelStorageSource$LevelStorageAccess
net.minecraft.class_32$class_5143
net.minecraft.world.level.storage.LevelStorage$Session
net.minecraft.world.level.storage.Convertable$ConversionSession

Field summary

Modifier and TypeField
final DirectoryLock
b
lock
field_23767
lock
final LevelStorageSource$LevelDirectory
c
levelDirectory
field_23768
directory
private final String
d
levelId
field_23769
directoryName
private final Map<LevelResource, Path>
e
resources
field_24190
paths

Constructor summary

ModifierConstructor
(LevelStorageSource arg0, String directoryName, Path path)

Method summary

Modifier and TypeMethod
public long
a()
estimateDiskSpace()
method_57628()
getUsableSpace()
public boolean
b()
checkForLowDiskSpace()
method_57629()
shouldShowLowDiskSpaceWarning()
public void
c()
safeClose()
method_54532()
tryClose()
public LevelStorageSource
d()
parent()
method_52617()
getLevelStorage()
public LevelStorageSource$LevelDirectory
e()
getLevelDirectory()
method_54543()
getDirectory()
public String
f()
getLevelId()
method_27005()
getDirectoryName()
public Path
a(ewb arg0)
getLevelPath(LevelResource arg0)
method_27010(class_5218 arg0)
getDirectory(WorldSavePath savePath)
public Path
a(aly<dhi> arg0)
getDimensionPath(ResourceKey<Level> arg0)
method_27424(class_5321<class_1937> arg0)
getWorldDirectory(RegistryKey<World> key)
private void
o()
checkLock()
method_27017()
checkValid()
public PlayerDataStorage
g()
createPlayerStorage()
method_27427()
createSaveHandler()
public LevelSummary
a(com.mojang.serialization.Dynamic<?> arg0)
getSummary(com.mojang.serialization.Dynamic<?> arg0)
method_29584(com.mojang.serialization.Dynamic<?> arg0)
getLevelSummary(com.mojang.serialization.Dynamic<?> dynamic)
public com.mojang.serialization.Dynamic<?>
h()
getDataTag()
method_54545()
readLevelProperties()
public com.mojang.serialization.Dynamic<?>
i()
getDataTagFallback()
method_54546()
readOldLevelProperties()
private com.mojang.serialization.Dynamic<?>
b(boolean arg0)
getDataTag(boolean arg0)
method_27013(boolean arg0)
readLevelProperties(boolean old)
public void
a(ke arg0, ewj arg1)
saveDataTag(RegistryAccess arg0, WorldData arg1)
method_27425(class_5455 arg0, class_5219 arg1)
backupLevelDataFile(DynamicRegistryManager registryManager, SaveProperties saveProperties)
public void
a(ke arg0, ewj arg1, ux arg2)
saveDataTag(RegistryAccess arg0, WorldData arg1, CompoundTag arg2)
method_27426(class_5455 arg0, class_5219 arg1, class_2487 arg2)
backupLevelDataFile(DynamicRegistryManager registryManager, SaveProperties saveProperties, NbtCompound nbt)
private void
a(ux arg0)
saveLevelData(CompoundTag arg0)
method_54538(class_2487 arg0)
save(NbtCompound nbt)
public Optional<Path>
j()
getIconFile()
method_27014()
getIconFile()
public void
k()
deleteLevel()
method_27015()
deleteSessionLock()
public void
a(String arg0)
renameLevel(String arg0)
method_27008(String arg0)
save(String name)
public void
b(String arg0)
renameAndDropPlayer(String arg0)
method_54540(String arg0)
removePlayerAndSave(String name)
private void
a(Consumer<ux> arg0)
modifyLevelDataWithoutDatafix(Consumer<CompoundTag> arg0)
method_54537(Consumer<class_2487> arg0)
save(Consumer<NbtCompound> nbtProcessor)
public long
l()
makeWorldBackup()
method_27016()
createBackup()
public boolean
m()
hasWorldData()
method_54547()
levelDatExists()
public void
close()
close()
public boolean
n()
restoreLevelDataFromOld()
method_54548()
tryRestoreBackup()
public Instant
a(boolean arg0)
getFileModificationTime(boolean arg0)
method_54539(boolean arg0)
getLastModifiedTime(boolean old)