net.minecraft.world.level.storage

public class LevelStorageSource$LevelStorageAccess

implements AutoCloseable

cyd$a
net.minecraft.world.level.storage.LevelStorageSource$LevelStorageAccess
net.minecraft.class_32$class_5143
net.minecraft.world.level.storage.LevelStorage$Session
net.minecraft.world.storage.SaveFormat$LevelSave
net.minecraft.server.v1_16_R2.Convertable$ConversionSession

Field summary

Modifier and TypeField
private final DirectoryLock
b
lock
field_23767
lock
field_237278_b_
lock
private final Path
c
levelPath
field_23768
directory
field_237279_c_
folder
private final String
d
levelId
field_23769
directoryName
field_237280_d_
levelName
private final Map<LevelResource, Path>
e
resources
field_24190
paths
field_237281_e_

Constructor summary

ModifierConstructor
public (LevelStorageSource arg0, String directoryName)

Method summary

Modifier and TypeMethod
public String
a()
getLevelId()
method_27005()
getDirectoryName()
func_237282_a_()
getLevelName()
public Path
a(cyb arg0)
getLevelPath(LevelResource arg0)
method_27010(class_5218 arg0)
getDirectory(WorldSavePath savePath)
func_237285_a_(FolderName arg0)
public File
a(vj<bru> arg0)
getDimensionPath(ResourceKey<Level> arg0)
method_27424(class_5321<class_1937> arg0)
getWorldDirectory(RegistryKey<World> key)
func_237291_a_(RegistryKey<World> arg0)
private void
i()
checkLock()
method_27017()
checkValid()
func_237301_i_()
checkSession()
public PlayerDataStorage
b()
createPlayerStorage()
method_27427()
createSaveHandler()
func_237292_b_()
public boolean
c()
requiresConversion()
method_27012()
needsConversion()
func_237295_c_()
isConvertable()
public boolean
a(afk arg0)
convertLevel(ProgressListener arg0)
method_27006(class_3536 arg0)
convert(ProgressListener progressListener)
func_237283_a_(IProgressUpdate arg0)
convert(IProgressUpdate arg0)
public LevelSummary
d()
getSummary()
method_29584()
getLevelSummary()
func_237296_d_()
public WorldData
a(com.mojang.serialization.DynamicOps<mt> arg0, brh arg1)
getDataTag(com.mojang.serialization.DynamicOps<Tag> arg0, DataPackConfig arg1)
method_27013(com.mojang.serialization.DynamicOps<class_2520> arg0, class_5359 arg1)
readLevelProperties(com.mojang.serialization.DynamicOps<Tag> arg0, DataPackSettings arg1)
func_237284_a_(com.mojang.serialization.DynamicOps<INBT> arg0, DatapackCodec arg1)
public DataPackConfig
e()
getDataPacks()
method_29585()
getDatapackSettings()
func_237297_e_()
public void
a(gn arg0, cyk arg1)
saveDataTag(RegistryAccess arg0, WorldData arg1)
method_27425(class_5455 arg0, class_5219 arg1)
backupLevelDataFile(DynamicRegistryManager arg0, SaveProperties arg1)
func_237287_a_(DynamicRegistries arg0, IServerConfiguration arg1)
public void
a(gn arg0, cyk arg1, md arg2)
saveDataTag(RegistryAccess arg0, WorldData arg1, CompoundTag arg2)
method_27426(class_5455 arg0, class_5219 arg1, class_2487 arg2)
backupLevelDataFile(DynamicRegistryManager arg0, SaveProperties arg1, CompoundTag arg2)
func_237288_a_(DynamicRegistries arg0, IServerConfiguration arg1, CompoundNBT arg2)
public File
f()
getIconFile()
method_27014()
getIconFile()
func_237298_f_()
public void
close()
close()
close()
close()
close()
public void
g()
deleteLevel()
method_27015()
deleteSessionLock()
func_237299_g_()
public void
a(String arg0)
renameLevel(String arg0)
method_27008(String arg0)
save(String name)
func_237290_a_(String arg0)
public long
h()
makeWorldBackup()
method_27016()
createBackup()
func_237300_h_()