Added a few more functions having to do with capturing picked up drops to IEntity.

This commit is contained in:
Luis C.M committed 2022-12-27 20:27:36 -06:00
1 parent 538c4393d1
commit d2601e5d57
1 file changed
+12
+12
View File
@@ -324,6 +324,18 @@ public interface IEntity<T extends Entity> {
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