Package net.minecraft.world.storage
Class SaveFormat.LevelSave
java.lang.Object
net.minecraft.world.storage.SaveFormat.LevelSave
- All Implemented Interfaces:
 AutoCloseable
- Enclosing class:
 - SaveFormat
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate final Pathprivate final SessionLockManagerprivate final Map<FolderName,Path>  - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprivate voidvoidclose()booleanconvertLevel(IProgressUpdate p_237283_1_) voidgetDataTag(com.mojang.serialization.DynamicOps<INBT> p_237284_1_, DatapackCodec p_237284_2_) getDimensionPath(RegistryKey<World> p_237291_1_) getLevelPath(FolderName p_237285_1_) longvoidrenameLevel(String p_237290_1_) booleanvoidsaveDataTag(DynamicRegistries p_237287_1_, IServerConfiguration p_237287_2_) voidsaveDataTag(DynamicRegistries p_237288_1_, IServerConfiguration p_237288_2_, CompoundNBT p_237288_3_)  
- 
Field Details
- 
lock
 - 
levelPath
 - 
levelId
 - 
resources
 
 - 
 - 
Constructor Details
- 
LevelSave
- Throws:
 IOException
 
 - 
 - 
Method Details
- 
getLevelId
 - 
getLevelPath
 - 
getDimensionPath
 - 
checkLock
private void checkLock() - 
createPlayerStorage
 - 
requiresConversion
public boolean requiresConversion() - 
convertLevel
 - 
getSummary
 - 
getDataTag
@Nullable public IServerConfiguration getDataTag(com.mojang.serialization.DynamicOps<INBT> p_237284_1_, DatapackCodec p_237284_2_)  - 
getDataPacks
 - 
saveDataTag
 - 
saveDataTag
public void saveDataTag(DynamicRegistries p_237288_1_, IServerConfiguration p_237288_2_, @Nullable CompoundNBT p_237288_3_)  - 
getIconFile
 - 
getWorldDir
 - 
deleteLevel
- Throws:
 IOException
 - 
renameLevel
- Throws:
 IOException
 - 
makeWorldBackup
- Throws:
 IOException
 - 
close
- Specified by:
 closein interfaceAutoCloseable- Throws:
 IOException
 
 -