Package net.minecraft.src
Class AnvilSaveHandler
java.lang.Object
net.minecraft.src.SaveHandler
net.minecraft.src.AnvilSaveHandler
- All Implemented Interfaces:
IPlayerFileData,ISaveHandler
- Direct Known Subclasses:
AnvilSaveHandlerBTW
-
Field Summary
Fields inherited from class net.minecraft.src.SaveHandler
playersDirectory, saveDirectoryName, worldDirectory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidflush()Called to flush all changes to disk, waiting for them to complete.getChunkLoader(WorldProvider par1WorldProvider) Returns the chunk loader with the provided world providervoidsaveWorldInfoWithPlayer(WorldInfo par1WorldInfo, NBTTagCompound par2NBTTagCompound) Saves the given World Info with the given NBTTagCompound as the Player.Methods inherited from class net.minecraft.src.SaveHandler
checkSessionLock, getAvailablePlayerDat, getDimensionDirectory, getMapFileFromName, getPlayerData, getSaveHandler, getWorldDirectory, getWorldDirectoryName, loadModSpecificData, loadWorldInfo, readPlayerData, saveModSpecificData, saveWorldInfo, setSessionLock, writePlayerData
-
Constructor Details
-
AnvilSaveHandler
-
-
Method Details
-
getChunkLoader
Returns the chunk loader with the provided world provider- Specified by:
getChunkLoaderin interfaceISaveHandler- Overrides:
getChunkLoaderin classSaveHandler
-
saveWorldInfoWithPlayer
Saves the given World Info with the given NBTTagCompound as the Player.- Specified by:
saveWorldInfoWithPlayerin interfaceISaveHandler- Overrides:
saveWorldInfoWithPlayerin classSaveHandler
-
flush
public void flush()Called to flush all changes to disk, waiting for them to complete.- Specified by:
flushin interfaceISaveHandler- Overrides:
flushin classSaveHandler
-