From d2601e5d572f79f9ee54d724b203520be783f54a Mon Sep 17 00:00:00 2001 From: "Luis C.M" <42545778+c0508383@users.noreply.github.com> Date: Tue, 27 Dec 2022 20:27:36 -0600 Subject: [PATCH] Added a few more functions having to do with capturing picked up drops to IEntity. --- java/noppes/npcs/api/entity/IEntity.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/java/noppes/npcs/api/entity/IEntity.java b/java/noppes/npcs/api/entity/IEntity.java index 52c9963..b4b3abb 100644 --- a/java/noppes/npcs/api/entity/IEntity.java +++ b/java/noppes/npcs/api/entity/IEntity.java @@ -324,6 +324,18 @@ public interface IEntity { boolean hasCollided(); + boolean hasCollidedVertically(); + + boolean hasCollidedHorizontally(); + + boolean capturesDrops(); + + void setCapturesDrops(boolean capture); + + void setCapturedDrops(IEntity[] capturedDrops); + + IEntity[] getCapturedDrops(); + /** * @since 1.7.10c * @return Returns whether or not this entity is sneaking