From 8e7f085774373b2970910b552b5d1a5da3d37891 Mon Sep 17 00:00:00 2001 From: KAMKEEL Date: Sun, 8 Jan 2023 17:32:12 -0500 Subject: [PATCH] setMovingType and getMovingType --- java/noppes/npcs/api/entity/ICustomNpc.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/java/noppes/npcs/api/entity/ICustomNpc.java b/java/noppes/npcs/api/entity/ICustomNpc.java index c0f28ab..47875e7 100644 --- a/java/noppes/npcs/api/entity/ICustomNpc.java +++ b/java/noppes/npcs/api/entity/ICustomNpc.java @@ -46,6 +46,16 @@ public interface ICustomNpc extends IEntityLiving { int getRotationType(); + /** + * @param movingType The moving type of the npc. 0 = standing, 1 = wandering, 2 = moving path + */ + public void setMovingType(int movingType); + + /** + * @return The moving type of the npc. 0 = standing, 1 = wandering, 2 = moving path + */ + public int getMovingType(); + /** * @param name The name of the npc */