mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-14 10:54:44 +00:00
34 lines
536 B
Java
34 lines
536 B
Java
package noppes.npcs.api.handler.data;
|
|
|
|
import net.minecraft.nbt.NBTTagCompound;
|
|
import noppes.npcs.api.entity.IPlayer;
|
|
|
|
import java.util.Map;
|
|
|
|
public interface IProfile {
|
|
|
|
|
|
/**
|
|
* @return the IPlayer attached to the Profile
|
|
*/
|
|
IPlayer getPlayer();
|
|
|
|
|
|
/**
|
|
* @return The profiles current Slot ID
|
|
*/
|
|
int getCurrentSlotId();
|
|
|
|
|
|
/**
|
|
* @return Map of all Slot IDs
|
|
*/
|
|
Map<Integer, ISlot> getSlots();
|
|
|
|
|
|
/**
|
|
* @return FULL NBT of the Profile
|
|
*/
|
|
NBTTagCompound writeToNBT();
|
|
}
|