mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-20 01:49:40 +00:00
1.7.10 Files
Files added
This commit is contained in:
1 parent
393ea9b463
commit
a31efb2dc3
1768 files changed
+84831
No files matched your search
@@ -0,0 +1,21 @@
|
||||
package noppes.npcs.constants;
|
||||
|
||||
public enum EnumAnimation {
|
||||
NONE,SITTING,LYING,SNEAKING,DANCING,AIMING,CRAWLING,HUG,CRY, WAVING, BOW;
|
||||
|
||||
public int getWalkingAnimation() {
|
||||
if(this == SNEAKING)
|
||||
return 1;
|
||||
if(this == AIMING)
|
||||
return 2;
|
||||
if(this == DANCING)
|
||||
return 3;
|
||||
if(this == CRAWLING)
|
||||
return 4;
|
||||
if(this == HUG)
|
||||
return 5;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user