Package btw.world
Class AnvilSaveHandlerBTW
java.lang.Object
net.minecraft.src.SaveHandler
net.minecraft.src.AnvilSaveHandler
btw.world.AnvilSaveHandlerBTW
- All Implemented Interfaces:
IPlayerFileData,ISaveHandler
-
Field Summary
Fields inherited from class net.minecraft.src.SaveHandler
playersDirectory, saveDirectoryName, worldDirectory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected FilegetDimensionDirectory(WorldServer world) protected FileGets the File object corresponding to the base directory of this world.Loads and returns the world infovoidsaveWorldInfo(WorldInfo par1WorldInfo) Saves the passed in world info.voidsaveWorldInfoWithPlayer(WorldInfo par1WorldInfo, NBTTagCompound par2NBTTagCompound) Saves the given World Info with the given NBTTagCompound as the Player.Methods inherited from class net.minecraft.src.AnvilSaveHandler
flush, getChunkLoaderMethods inherited from class net.minecraft.src.SaveHandler
checkSessionLock, getAvailablePlayerDat, getMapFileFromName, getPlayerData, getSaveHandler, getWorldDirectoryName, loadModSpecificData, readPlayerData, saveModSpecificData, setSessionLock, writePlayerDataMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.src.ISaveHandler
checkSessionLock, flush, getChunkLoader, getMapFileFromName, getSaveHandler, getWorldDirectoryName, loadModSpecificData, saveModSpecificData
-
Constructor Details
-
AnvilSaveHandlerBTW
-
-
Method Details
-
getWorldDirectory
Description copied from class:SaveHandlerGets the File object corresponding to the base directory of this world.- Overrides:
getWorldDirectoryin classSaveHandler
-
loadWorldInfo
Description copied from class:SaveHandlerLoads and returns the world info- Specified by:
loadWorldInfoin interfaceISaveHandler- Overrides:
loadWorldInfoin classSaveHandler
-
saveWorldInfo
Description copied from class:SaveHandlerSaves the passed in world info.- Specified by:
saveWorldInfoin interfaceISaveHandler- Overrides:
saveWorldInfoin classSaveHandler
-
saveWorldInfoWithPlayer
Description copied from class:AnvilSaveHandlerSaves the given World Info with the given NBTTagCompound as the Player.- Specified by:
saveWorldInfoWithPlayerin interfaceISaveHandler- Overrides:
saveWorldInfoWithPlayerin classAnvilSaveHandler
-
getDimensionDirectory
- Overrides:
getDimensionDirectoryin classSaveHandler
-