SaveHandlerMP .java

net.minecraft.world.storage.SaveHandlerMP (class): members: getWorldDirectoryName, getPlayerNBTManager, getMapFileFromName, getWorldDirectory, flush.

net.minecraft.world.storageclass84 linescommon1.8 KB

Implements

API Surface (10)

WorldInfo loadWorldInfo()
void checkSessionLock()
IChunkLoader getChunkLoader(WorldProvider provider)
void saveWorldInfoWithPlayer(WorldInfo worldInformation, NBTTagCompound tagCompound)
void saveWorldInfo(WorldInfo worldInformation)
IPlayerFileData getPlayerNBTManager()
void flush()
File getMapFileFromName(String mapName)
String getWorldDirectoryName()
File getWorldDirectory()

String literals (1)

"none"

Code Graph: Dependencies (7)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

SaveHandlerMP.java84 lines · MCP 1.8.9 · verbatimOriginal ↗
1
package net.minecraft.world.storage;
2
3
import java.io.File;
4
import net.minecraft.nbt.NBTTagCompound;
5
import net.minecraft.world.MinecraftException;
6
import net.minecraft.world.WorldProvider;
7
import net.minecraft.world.chunk.storage.IChunkLoader;
8
9
public class SaveHandlerMP implements ISaveHandler
10
{
11
    /**
12
     * Loads and returns the world info
13
     */
14
    public WorldInfo loadWorldInfo()
15
    {
16
        return null;
17
    }
18
19
    /**
20
     * Checks the session lock to prevent save collisions
21
     */
22
    public void checkSessionLock() throws MinecraftException
23
    {
24
    }
25
26
    /**
27
     * initializes and returns the chunk loader for the specified world provider
28
     */
29
    public IChunkLoader getChunkLoader(WorldProvider provider)
30
    {
31
        return null;
32
    }
33
34
    /**
35
     * Saves the given World Info with the given NBTTagCompound as the Player.
36
     */
37
    public void saveWorldInfoWithPlayer(WorldInfo worldInformation, NBTTagCompound tagCompound)
38
    {
39
    }
40
41
    /**
42
     * used to update level.dat from old format to MCRegion format
43
     */
44
    public void saveWorldInfo(WorldInfo worldInformation)
45
    {
46
    }
47
48
    public IPlayerFileData getPlayerNBTManager()
49
    {
50
        return null;
51
    }
52
53
    /**
54
     * Called to flush all changes to disk, waiting for them to complete.
55
     */
56
    public void flush()
57
    {
58
    }
59
60
    /**
61
     * Gets the file location of the given map
62
     */
63
    public File getMapFileFromName(String mapName)
64
    {
65
        return null;
66
    }
67
68
    /**
69
     * Returns the name of the directory where world information is saved.
70
     */
71
    public String getWorldDirectoryName()
72
    {
73
        return "none";
74
    }
75
76
    /**
77
     * Gets the File object corresponding to the base directory of this world.
78
     */
79
    public File getWorldDirectory()
80
    {
81
        return null;
82
    }
83
}
84

Deobfuscated MCP 1.8.9 source of SaveHandlerMP from Marcelektro/MavenMCP-1.8.9 (net/minecraft/world/storage/SaveHandlerMP.java), stored verbatim.