001package net.minecraft.world.storage; 002 003import net.minecraft.entity.player.EntityPlayer; 004import net.minecraft.nbt.NBTTagCompound; 005 006public interface IPlayerFileData 007{ 008 /** 009 * Writes the player data to disk from the specified PlayerEntityMP. 010 */ 011 void writePlayerData(EntityPlayer entityplayer); 012 013 /** 014 * Reads the player data from disk into the specified PlayerEntityMP. 015 */ 016 NBTTagCompound readPlayerData(EntityPlayer entityplayer); 017 018 /** 019 * Returns an array of usernames for which player.dat exists for. 020 */ 021 String[] getAvailablePlayerDat(); 022}