mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-09 00:22:08 -07:00
@@ -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.
|
||||
*
|
||||
|
Reference in New Issue
Block a user