mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 04:17:44 +01:00
parent
7c60ceee2c
commit
1019bd7464
@ -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.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user