net.minecraft.world.level.storage

public class LevelStorageSource$LevelStorageAccess

implements AutoCloseable

dve$c
net.minecraft.world.level.storage.LevelStorageSource$LevelStorageAccess
net.minecraft.class_32$class_5143
net.minecraft.world.level.storage.LevelStorage$Session
net.minecraft.src.C_2785_$C_2786_
net.minecraft.world.level.storage.Convertable$ConversionSession

Field summary

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

Constructor summary

ModifierConstructor
public (LevelStorageSource p_78276_, String directoryName)

Method summary

Modifier and TypeMethod
public String
a()
getLevelId()
method_27005()
getDirectoryName()
m_78277_()
public Path
a(dvc arg0)
getLevelPath(LevelResource arg0)
method_27010(class_5218 arg0)
getDirectory(WorldSavePath savePath)
m_78283_(C_2783_ arg0)
public Path
a(ace<cjw> arg0)
getDimensionPath(ResourceKey<Level> arg0)
method_27424(class_5321<class_1937> arg0)
getWorldDirectory(RegistryKey<World> key)
m_197394_(C_5264_<C_1596_> arg0)
private void
h()
checkLock()
method_27017()
checkValid()
m_78313_()
public PlayerDataStorage
b()
createPlayerStorage()
method_27427()
createSaveHandler()
m_78301_()
public LevelSummary
c()
getSummary()
method_29584()
getLevelSummary()
m_78308_()
public com.mojang.datafixers.util.Pair<WorldData, WorldDimensions$Complete>
a(com.mojang.serialization.DynamicOps<ri> arg0, cko arg1, hm<dcc> arg2, com.mojang.serialization.Lifecycle arg3)
getDataTag(com.mojang.serialization.DynamicOps<Tag> arg0, WorldDataConfiguration arg1, Registry<LevelStem> arg2, com.mojang.serialization.Lifecycle arg3)
method_27013(com.mojang.serialization.DynamicOps<class_2520> arg0, class_7712 arg1, class_2378<class_5363> arg2, com.mojang.serialization.Lifecycle arg3)
readLevelProperties(com.mojang.serialization.DynamicOps<NbtElement> ops, DataConfiguration dataConfiguration, Registry<DimensionOptions> dimensionOptionsRegistry, com.mojang.serialization.Lifecycle lifecycle)
m_246049_(com.mojang.serialization.DynamicOps<C_4950_> p_251873_, C_243530_ p_249187_, C_4705_<C_2176_> p_249736_, com.mojang.serialization.Lifecycle arg3)
public WorldDataConfiguration
d()
getDataConfiguration()
method_29585()
getDataPackSettings()
m_247706_()
public void
a(hn arg0, dvk arg1)
saveDataTag(RegistryAccess arg0, WorldData arg1)
method_27425(class_5455 arg0, class_5219 arg1)
backupLevelDataFile(DynamicRegistryManager registryManager, SaveProperties saveProperties)
m_78287_(C_4706_ p_78289_, C_2795_ arg1)
public void
a(hn arg0, dvk arg1, qp 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)
m_78290_(C_4706_ p_78292_, C_2795_ p_78293_, C_4917_ arg2)
public Optional<Path>
e()
getIconFile()
method_27014()
getIconFile()
m_182514_()
public void
f()
deleteLevel()
method_27015()
deleteSessionLock()
m_78311_()
public void
a(String arg0)
renameLevel(String arg0)
method_27008(String arg0)
save(String name)
m_78297_(String arg0)
public long
g()
makeWorldBackup()
method_27016()
createBackup()
m_78312_()
public void
close()
close()
close()