mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-15 03:14:43 +00:00
Moved NPC puppet data to display data.
Improved mixin functionality, offsets and rotations always reset if the puppet "job" (not a job anymore, always in display) is disabled.
This commit is contained in:
1 parent
a3961fe071
commit
1bff2eddfe
2 files changed
+7
No files matched your search
@@ -12,6 +12,7 @@ import noppes.npcs.api.handler.IOverlayHandler;
|
||||
import noppes.npcs.api.handler.data.IFaction;
|
||||
import noppes.npcs.api.item.IItemStack;
|
||||
import noppes.npcs.api.jobs.IJob;
|
||||
import noppes.npcs.api.jobs.IJobPuppet;
|
||||
import noppes.npcs.api.roles.IRole;
|
||||
|
||||
public interface ICustomNpc<T extends EntityCreature> extends IEntityLiving<T> {
|
||||
@@ -208,6 +209,8 @@ public interface ICustomNpc<T extends EntityCreature> extends IEntityLiving<T> {
|
||||
*/
|
||||
void reset();
|
||||
|
||||
IJobPuppet getModelData();
|
||||
|
||||
/**
|
||||
* @return Returns the npcs current role
|
||||
*/
|
||||
|
||||
@@ -4,6 +4,10 @@ import noppes.npcs.api.handler.data.IModelPart;
|
||||
|
||||
public interface IJobPuppet extends IJob {
|
||||
|
||||
void setEnabled(boolean enabled);
|
||||
|
||||
boolean enabled();
|
||||
|
||||
IModelPart getPart(int part);
|
||||
|
||||
void allEnabled(boolean enabled);
|
||||
|
||||
Reference in new issue
Block a user