IPlayerFileData .java

net.minecraft.world.storage.IPlayerFileData (interface): members: readPlayerData, getAvailablePlayerDat, writePlayerData. imports: NBTTagCompound.

net.minecraft.world.storageinterface23 linescommon574 B

API Surface (0)

No public/protected methods detected (fields or constants only).

Code Graph: Dependencies (2)

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

Full Source

IPlayerFileData.java23 lines · MCP 1.8.9 · verbatimOriginal ↗
1
package net.minecraft.world.storage;
2
3
import net.minecraft.entity.player.EntityPlayer;
4
import net.minecraft.nbt.NBTTagCompound;
5
6
public interface IPlayerFileData
7
{
8
    /**
9
     * Writes the player data to disk from the specified PlayerEntityMP.
10
     */
11
    void writePlayerData(EntityPlayer player);
12
13
    /**
14
     * Reads the player data from disk into the specified PlayerEntityMP.
15
     */
16
    NBTTagCompound readPlayerData(EntityPlayer player);
17
18
    /**
19
     * Returns an array of usernames for which player.dat exists for.
20
     */
21
    String[] getAvailablePlayerDat();
22
}
23

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