mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 20:49:05 +00:00
knockback() function for ScriptEntity now *only* knocks the entity back instead of hitting it.
Flying NPC's get knocked back properly, and their vertical speed has been increased. Flying NPC's vertical flying speed can be changed by npc.setFlySpeed(double speed) from ScriptNpc.
This commit is contained in:
1 parent
3cd1410c19
commit
12333de3a1
9 files changed
+62
-40
No files matched your search
@@ -676,9 +676,13 @@ public interface ICustomNpc<T extends EntityCreature> extends IEntityLiving<T> {
|
||||
|
||||
public long getAge();
|
||||
|
||||
public void setFly(int fly);
|
||||
|
||||
public boolean canFly();
|
||||
|
||||
public void setFly(int fly);
|
||||
public void setFlySpeed(double flySpeed);
|
||||
|
||||
public double getFlySpeed(double flySpeed);
|
||||
|
||||
public void setSkinType(byte type);
|
||||
|
||||
|
||||
Reference in new issue
Block a user