diff --git a/paper-api/src/main/java/org/bukkit/entity/Item.java b/paper-api/src/main/java/org/bukkit/entity/Item.java index 3f2736fbdd..65dd4554c6 100644 --- a/paper-api/src/main/java/org/bukkit/entity/Item.java +++ b/paper-api/src/main/java/org/bukkit/entity/Item.java @@ -39,6 +39,20 @@ public interface Item extends Entity { */ public void setPickupDelay(int delay); + /** + * Sets if this Item should live forever + * + * @param unlimited true if the lifetime is unlimited + */ + public void setUnlimitedLifetime(boolean unlimited); + + /** + * Gets if this Item lives forever + * + * @return true if the lifetime is unlimited + */ + public boolean isUnlimitedLifetime(); + /** * Sets the owner of this item. *