Entity API Documentation

This commit is contained in:
Kam committed 2025-03-06 01:48:39 -05:00
1 parent 3593a09d1d
commit 8c2c226d34
21 files changed
+2778 -1142

No files matched your search

@@ -8,6 +8,7 @@ import noppes.npcs.api.entity.IEntity;
import noppes.npcs.api.entity.IEntityLivingBase;
import noppes.npcs.api.entity.IPlayer;
import noppes.npcs.api.handler.data.IPlayerEffect;
import noppes.npcs.api.handler.data.IProfile;
import noppes.npcs.api.item.IItemStack;
public interface IPlayerEvent extends ICustomNPCsEvent {
@@ -294,4 +295,23 @@ public interface IPlayerEvent extends ICustomNPCsEvent {
}
}
@Cancelable
interface ProfileEvent extends IPlayerEvent {
IProfile getProfile();
int getSlot();
interface Changed extends ProfileEvent {
int getPrevSlot();
}
interface Create extends ProfileEvent {
}
interface Removed extends ProfileEvent {
}
}
}