mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 01:29:05 +00:00
Merge branch 'louis-pathing' into dev
This commit is contained in:
commit
d520c98578
11 files changed
+588
-309
No files matched your search
@@ -1071,6 +1071,10 @@ public class ScriptNpc<T extends EntityNPCInterface> extends ScriptLiving<T> imp
|
||||
npc.stats.drowningType = type;
|
||||
}
|
||||
|
||||
public boolean canBreathe() {
|
||||
return npc.canBreathe();
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getAge(){
|
||||
return npc.totalTicksAlive;
|
||||
|
||||
@@ -371,6 +371,8 @@ public interface ICustomNpc<T extends EntityCreature> extends IEntityLiving<T> {
|
||||
*/
|
||||
void setDrowningType(int type);
|
||||
|
||||
boolean canBreathe();
|
||||
|
||||
/**
|
||||
* @param type The AnimationType
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user