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

Public Member Functions

 WorldSpecificSaveHandler (WorldServer world, ISaveHandler parent)
 
WorldInfo loadWorldInfo ()
 
void checkSessionLock () throws MinecraftException
 
IChunkLoader getChunkLoader (WorldProvider var1)
 
void saveWorldInfoWithPlayer (WorldInfo var1, NBTTagCompound var2)
 
void saveWorldInfo (WorldInfo var1)
 
IPlayerFileData getSaveHandler ()
 
void flush ()
 
String getWorldDirectoryName ()
 
File getMapFileFromName (String name)
 

Constructor & Destructor Documentation

net.minecraftforge.common.WorldSpecificSaveHandler.WorldSpecificSaveHandler ( WorldServer  world,
ISaveHandler  parent 
)

Member Function Documentation

void net.minecraftforge.common.WorldSpecificSaveHandler.checkSessionLock ( ) throws MinecraftException

Checks the session lock to prevent save collisions

Implements net.minecraft.world.storage.ISaveHandler.

void net.minecraftforge.common.WorldSpecificSaveHandler.flush ( )

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

Implements net.minecraft.world.storage.ISaveHandler.

IChunkLoader net.minecraftforge.common.WorldSpecificSaveHandler.getChunkLoader ( WorldProvider  worldprovider)

Returns the chunk loader with the provided world provider

Implements net.minecraft.world.storage.ISaveHandler.

File net.minecraftforge.common.WorldSpecificSaveHandler.getMapFileFromName ( String  s)

Gets the file location of the given map

Implements net.minecraft.world.storage.ISaveHandler.

IPlayerFileData net.minecraftforge.common.WorldSpecificSaveHandler.getSaveHandler ( )

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

Implements net.minecraft.world.storage.ISaveHandler.

String net.minecraftforge.common.WorldSpecificSaveHandler.getWorldDirectoryName ( )

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

Implements net.minecraft.world.storage.ISaveHandler.

WorldInfo net.minecraftforge.common.WorldSpecificSaveHandler.loadWorldInfo ( )

Loads and returns the world info

Implements net.minecraft.world.storage.ISaveHandler.

void net.minecraftforge.common.WorldSpecificSaveHandler.saveWorldInfo ( WorldInfo  worldinfo)

Saves the passed in world info.

Implements net.minecraft.world.storage.ISaveHandler.

void net.minecraftforge.common.WorldSpecificSaveHandler.saveWorldInfoWithPlayer ( WorldInfo  worldinfo,
NBTTagCompound  nbttagcompound 
)

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: