mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-16 19:55:06 +00:00
WORKING MODEL CHANGER!
Added Working Model Changer that allows you to change between Default, Steve 64 x 64, Alex Models. Now instead of selecting a completely different Entity, simply go to the Model Editor to change the Model Type and Version.
This commit is contained in:
1 parent
aeb807cea7
commit
97dc3e9f13
12 files changed
+81
-92
No files matched your search
@@ -166,6 +166,7 @@ public abstract class EntityNPCInterface extends EntityCreature implements IEnti
|
||||
public long totalTicksAlive = 0;
|
||||
private int taskCount = 1;
|
||||
public int lastInteract = 0;
|
||||
|
||||
public Faction faction; //should only be used server side
|
||||
|
||||
private EntityAIRangedAttack aiRange;
|
||||
@@ -1692,4 +1693,14 @@ public abstract class EntityNPCInterface extends EntityCreature implements IEnti
|
||||
public boolean shouldDismountInWater(Entity rider){
|
||||
return false;
|
||||
}
|
||||
|
||||
// Model Types: 0: Steve 64x32, 1: Steve 64x64, 2: Alex 64x64
|
||||
public int getModelType()
|
||||
{
|
||||
return this.display.modelType;
|
||||
}
|
||||
public void setModelType(int val)
|
||||
{
|
||||
this.display.modelType = val;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user