net.minecraft.world.chunk.storage
Class AnvilSaveHandler
java.lang.Object
net.minecraft.world.storage.SaveHandler
net.minecraft.world.chunk.storage.AnvilSaveHandler
- All Implemented Interfaces:
- IPlayerFileData, ISaveHandler
public class AnvilSaveHandler
- extends SaveHandler
Methods inherited from class net.minecraft.world.storage.SaveHandler |
checkSessionLock, getAvailablePlayerDat, getMapFileFromName, getPlayerData, getSaveDirectory, getSaveDirectoryName, getSaveHandler, loadWorldInfo, readPlayerData, saveWorldInfo, writePlayerData |
AnvilSaveHandler
public AnvilSaveHandler(File par1File,
String par2Str,
boolean par3)
getChunkLoader
public IChunkLoader getChunkLoader(WorldProvider par1WorldProvider)
- Returns the chunk loader with the provided world provider
- Specified by:
getChunkLoader
in interface ISaveHandler
- Overrides:
getChunkLoader
in class SaveHandler
saveWorldInfoWithPlayer
public void saveWorldInfoWithPlayer(WorldInfo par1WorldInfo,
NBTTagCompound par2NBTTagCompound)
- Saves the given World Info with the given NBTTagCompound as the Player.
- Specified by:
saveWorldInfoWithPlayer
in interface ISaveHandler
- Overrides:
saveWorldInfoWithPlayer
in class SaveHandler
flush
public void flush()
- Called to flush all changes to disk, waiting for them to complete.
- Specified by:
flush
in interface ISaveHandler
- Overrides:
flush
in class SaveHandler