Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.minecraft.src
Class AnvilSaveHandler

    java.lang.Object
      net.minecraft.src.SaveHandler
          net.minecraft.src.AnvilSaveHandler

All Implemented Interfaces:
  IPlayerFileData, ISaveHandler

    public class AnvilSaveHandler

extends SaveHandler

Constructor Summary
`AnvilSaveHandler(File par1File, String par2Str, boolean par3)`

Method Summary
`void` | `flush()` Called to flush all changes to disk, waiting for them to complete.
`IChunkLoader` | `getChunkLoader(WorldProvider par1WorldProvider)` Returns the chunk loader with the provided world provider
`void` | `saveWorldInfoWithPlayer(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, getMapFileFromName, getPlayerData, getSaveDirectoryName, getSaveHandler, loadWorldInfo, readPlayerData, saveWorldInfo, writePlayerData`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### AnvilSaveHandler

    public AnvilSaveHandler(File par1File,
                            String par2Str,
                            boolean par3)

Method Detail

### 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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD