net.minecraft.world.level.storage

public class LevelStorageSource$LevelStorageAccess

implements AutoCloseable

ewc$c
net.minecraft.world.level.storage.LevelStorageSource$LevelStorageAccess
net.minecraft.class_32$class_5143
net.minecraft.unmapped.C_bpwagnit$C_unecclfw
net.minecraft.world.level.storage.LevelStorage$Session
net.minecraft.world.storage.WorldSaveStorage$Session
net.minecraft.src.C_2785_$C_2786_
net.minecraft.world.level.storage.LevelStorageException$c

Field summary

Modifier and TypeField
final DirectoryLock
b
lock
field_23767
f_yrytyibs
lock
lock
f_78270_
final LevelStorageSource$LevelDirectory
c
levelDirectory
field_23768
f_itqzdvso
directory
directory
f_230867_
private final String
d
levelId
field_23769
f_imwffmfo
directoryName
directoryName
f_78272_
private final Map<LevelResource, Path>
e
resources
field_24190
f_ogmhmsly
paths
paths
f_78273_

Constructor summary

ModifierConstructor
(LevelStorageSource p_289967_, String directoryName, Path path)

Method summary

Modifier and TypeMethod
public long
a()
estimateDiskSpace()
method_57628()
m_sjzmmnqz()
getUsableSpace()
m_322538_()
public boolean
b()
checkForLowDiskSpace()
method_57629()
m_mrfxgmpi()
shouldShowLowDiskSpaceWarning()
m_323802_()
public void
c()
safeClose()
method_54532()
m_ansyrdez()
tryClose()
m_306156_()
public LevelStorageSource
d()
parent()
method_52617()
m_ucocnqxl()
getLevelStorage()
m_295711_()
public LevelStorageSource$LevelDirectory
e()
getLevelDirectory()
method_54543()
m_wcmaksro()
getDirectory()
m_306248_()
public String
f()
getLevelId()
method_27005()
m_kytlqtwd()
getDirectoryName()
getDirectoryName()
m_78277_()
public Path
a(ewa arg0)
getLevelPath(LevelResource arg0)
method_27010(class_5218 arg0)
m_gdygeqrw(C_ldtdvgrs arg0)
getDirectory(WorldSavePath savePath)
getDirectory(WorldSavePath savePath)
m_78283_(C_2783_ arg0)
public Path
a(aly<dhh> arg0)
getDimensionPath(ResourceKey<Level> arg0)
method_27424(class_5321<class_1937> arg0)
m_vbnwdyms(C_xhhleach<C_cdctfzbn> arg0)
getWorldDirectory(RegistryKey<World> key)
getWorldDirectory(RegistryKey<World> key)
m_197394_(C_5264_<C_1596_> arg0)
private void
o()
checkLock()
method_27017()
m_amukkubj()
checkValid()
checkValid()
m_78313_()
public PlayerDataStorage
g()
createPlayerStorage()
method_27427()
m_bripcmby()
createSaveHandler()
createSaveHandler()
m_78301_()
public LevelSummary
a(com.mojang.serialization.Dynamic<?> arg0)
getSummary(com.mojang.serialization.Dynamic<?> arg0)
method_29584(com.mojang.serialization.Dynamic<?> arg0)
m_qlhjzadq(com.mojang.serialization.Dynamic<?> arg0)
getLevelSummary(com.mojang.serialization.Dynamic<?> dynamic)
getWorldSaveSummary(com.mojang.serialization.Dynamic<?> dynamic)
m_78308_(com.mojang.serialization.Dynamic<?> arg0)
public com.mojang.serialization.Dynamic<?>
h()
getDataTag()
method_54545()
m_duganaay()
readLevelProperties()
m_307464_()
public com.mojang.serialization.Dynamic<?>
i()
getDataTagFallback()
method_54546()
m_poghauyh()
readOldLevelProperties()
m_305112_()
private com.mojang.serialization.Dynamic<?>
b(boolean arg0)
getDataTag(boolean arg0)
method_27013(boolean arg0)
m_udapqkxu(boolean arg0)
readLevelProperties(boolean old)
m_246049_(boolean arg0)
public void
a(ke arg0, ewi arg1)
saveDataTag(RegistryAccess arg0, WorldData arg1)
method_27425(class_5455 arg0, class_5219 arg1)
m_pxtbpyav(C_wqxmvzdq arg0, C_jkevluio arg1)
backupLevelDataFile(DynamicRegistryManager registryManager, SaveProperties saveProperties)
backupLevelDataFile(DynamicRegistryManager registryManager, SaveProperties saveProperties)
m_78287_(C_4706_ p_78289_, C_2795_ arg1)
public void
a(ke arg0, ewi arg1, ux arg2)
saveDataTag(RegistryAccess arg0, WorldData arg1, CompoundTag arg2)
method_27426(class_5455 arg0, class_5219 arg1, class_2487 arg2)
m_nywumhbl(C_wqxmvzdq arg0, C_jkevluio arg1, C_hhlwcnih arg2)
backupLevelDataFile(DynamicRegistryManager registryManager, SaveProperties saveProperties, NbtCompound nbt)
backupLevelDataFile(DynamicRegistryManager registryManager, SaveProperties saveProperties, NbtCompound nbt)
m_78290_(C_4706_ p_78292_, C_2795_ p_78293_, C_4917_ arg2)
private void
a(ux arg0)
saveLevelData(CompoundTag arg0)
method_54538(class_2487 arg0)
m_cezgdkva(C_hhlwcnih arg0)
save(NbtCompound nbt)
m_cezgdkva(NbtCompound compound)
m_305059_(C_4917_ arg0)
public Optional<Path>
j()
getIconFile()
method_27014()
m_frlakpac()
getIconFile()
getIconFile()
m_182514_()
public void
k()
deleteLevel()
method_27015()
m_tymqntik()
deleteSessionLock()
deleteSessionLock()
m_78311_()
public void
a(String arg0)
renameLevel(String arg0)
method_27008(String arg0)
m_ltpgwzhg(String arg0)
save(String name)
save(String name)
m_78297_(String arg0)
public void
b(String arg0)
renameAndDropPlayer(String arg0)
method_54540(String arg0)
m_rsddwmuj(String arg0)
removePlayerAndSave(String name)
m_307222_(String arg0)
private void
a(Consumer<ux> arg0)
modifyLevelDataWithoutDatafix(Consumer<CompoundTag> arg0)
method_54537(Consumer<class_2487> arg0)
m_nbggcwld(Consumer<C_hhlwcnih> arg0)
save(Consumer<NbtCompound> nbtProcessor)
m_306294_(Consumer<C_4917_> arg0)
public long
l()
makeWorldBackup()
method_27016()
m_nrokxxpv()
createBackup()
createBackup()
m_78312_()
public boolean
m()
hasWorldData()
method_54547()
m_gcceloqp()
levelDatExists()
m_306456_()
public void
close()
close()
close()
public boolean
n()
restoreLevelDataFromOld()
method_54548()
m_pucxqtif()
tryRestoreBackup()
m_305486_()
public Instant
a(boolean arg0)
getFileModificationTime(boolean arg0)
method_54539(boolean arg0)
m_ydxwmjrn(boolean arg0)
getLastModifiedTime(boolean old)
m_306206_(boolean arg0)