mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-16 13:04:47 +00:00
Custom Effect + Profile API for Scripting
This commit is contained in:
1 parent
30ba1bafac
commit
dd3d8c552c
4 files changed
+117
No files matched your search
@@ -0,0 +1,33 @@
|
||||
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();
|
||||
}
|
||||
Reference in new issue
Block a user