Added drowning types:

In Air,
In Water,
or
Never
to CNPCs.
This commit is contained in:
Luis C.M committed 2022-06-29 12:21:30 -05:00
1 parent 44225194ac
commit 55b21de050
9 files changed
+102 -44

No files matched your search

@@ -359,7 +359,11 @@ public interface ICustomNpc<T extends EntityCreature> extends IEntityLiving<T> {
boolean getCanDrown();
void setCanDrown(boolean b);
/**
*
* @param type 0 - Never drowns, 1 - Drowns in water, 2 - Drowns in air (without water)
*/
void setDrowningType(int type);
/**
* @param type The AnimationType