YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.world.storage.SaveHandlerMP Class Reference
Inheritance diagram for net.minecraft.world.storage.SaveHandlerMP:
net.minecraft.world.storage.ISaveHandler

Public Member Functions

WorldInfo loadWorldInfo ()
 
void checkSessionLock () throws MinecraftException
 
IChunkLoader getChunkLoader (WorldProvider par1WorldProvider)
 
void saveWorldInfoWithPlayer (WorldInfo par1WorldInfo, NBTTagCompound par2NBTTagCompound)
 
void saveWorldInfo (WorldInfo par1WorldInfo)
 
IPlayerFileData getSaveHandler ()
 
void flush ()
 
File getMapFileFromName (String par1Str)
 
String getWorldDirectoryName ()
 

Member Function Documentation

void net.minecraft.world.storage.SaveHandlerMP.checkSessionLock ( ) throws MinecraftException

Checks the session lock to prevent save collisions

Implements net.minecraft.world.storage.ISaveHandler.

void net.minecraft.world.storage.SaveHandlerMP.flush ( )

Called to flush all changes to disk, waiting for them to complete.

Implements net.minecraft.world.storage.ISaveHandler.

IChunkLoader net.minecraft.world.storage.SaveHandlerMP.getChunkLoader ( WorldProvider  par1WorldProvider)

Returns the chunk loader with the provided world provider

Implements net.minecraft.world.storage.ISaveHandler.

File net.minecraft.world.storage.SaveHandlerMP.getMapFileFromName ( String  par1Str)

Gets the file location of the given map

Implements net.minecraft.world.storage.ISaveHandler.

IPlayerFileData net.minecraft.world.storage.SaveHandlerMP.getSaveHandler ( )

returns null if no saveHandler is relevent (eg. SMP)

Implements net.minecraft.world.storage.ISaveHandler.

String net.minecraft.world.storage.SaveHandlerMP.getWorldDirectoryName ( )

Returns the name of the directory where world information is saved.

Implements net.minecraft.world.storage.ISaveHandler.

WorldInfo net.minecraft.world.storage.SaveHandlerMP.loadWorldInfo ( )

Loads and returns the world info

Implements net.minecraft.world.storage.ISaveHandler.

void net.minecraft.world.storage.SaveHandlerMP.saveWorldInfo ( WorldInfo  par1WorldInfo)

Saves the passed in world info.

Implements net.minecraft.world.storage.ISaveHandler.

void net.minecraft.world.storage.SaveHandlerMP.saveWorldInfoWithPlayer ( WorldInfo  par1WorldInfo,
NBTTagCompound  par2NBTTagCompound 
)

Saves the given World Info with the given NBTTagCompound as the Player.

Implements net.minecraft.world.storage.ISaveHandler.


The documentation for this class was generated from the following file: