Package net.minecraft.world.storage
Class SaveHandlerMP
- java.lang.Object
- 
- net.minecraft.world.storage.SaveHandlerMP
 
- 
- All Implemented Interfaces:
- ISaveHandler
 
 public class SaveHandlerMP extends java.lang.Object implements ISaveHandler + This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code. Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!" Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team EaglercraftX 1.8 patch files are (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
- 
- 
Constructor SummaryConstructors Constructor Description SaveHandlerMP()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckSessionLock()+ Checks the session lock to prevent save collisionsvoidflush()+ Called to flush all changes to disk, waiting for them to complete.IPlayerFileDatagetPlayerNBTManager()java.lang.StringgetWorldDirectoryName()+ Returns the name of the directory where world information is saved.WorldInfoloadWorldInfo()+ Loads and returns the world infovoidsaveWorldInfo(WorldInfo var1)+ used to update level.dat from old format to MCRegion formatvoidsaveWorldInfoWithPlayer(WorldInfo var1, NBTTagCompound var2)+ Saves the given World Info with the given NBTTagCompound as the Player.
 
- 
- 
- 
Method Detail- 
loadWorldInfopublic WorldInfo loadWorldInfo() + Loads and returns the world info- Specified by:
- loadWorldInfoin interface- ISaveHandler
 
 - 
checkSessionLockpublic void checkSessionLock() throws MinecraftException+ Checks the session lock to prevent save collisions- Specified by:
- checkSessionLockin interface- ISaveHandler
- Throws:
- MinecraftException
 
 - 
saveWorldInfoWithPlayerpublic void saveWorldInfoWithPlayer(WorldInfo var1, NBTTagCompound var2) + Saves the given World Info with the given NBTTagCompound as the Player.- Specified by:
- saveWorldInfoWithPlayerin interface- ISaveHandler
 
 - 
saveWorldInfopublic void saveWorldInfo(WorldInfo var1) + used to update level.dat from old format to MCRegion format- Specified by:
- saveWorldInfoin interface- ISaveHandler
 
 - 
getPlayerNBTManagerpublic IPlayerFileData getPlayerNBTManager() - Specified by:
- getPlayerNBTManagerin interface- ISaveHandler
 
 - 
flushpublic void flush() + Called to flush all changes to disk, waiting for them to complete.- Specified by:
- flushin interface- ISaveHandler
 
 - 
getWorldDirectoryNamepublic java.lang.String getWorldDirectoryName() + Returns the name of the directory where world information is saved.- Specified by:
- getWorldDirectoryNamein interface- ISaveHandler
 
 
- 
 
-