Custom Effect + Profile API for Scripting

This commit is contained in:
Kam committed 2025-02-21 17:30:38 -05:00
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();
}