mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 01:05:12 +00:00
Added drowning types:
In Air, In Water, or Never to CNPCs.
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user