13
0
geforkt von Mirrors/Paper

Added get/setPickupDelay on Item entities, thanks robin0van0der0v

By: Dinnerbone <dinnerbone@dinnerbone.com>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2011-09-25 03:40:12 +01:00
Ursprung 0d3e401580
Commit c2d3c5ce3e

Datei anzeigen

@ -23,4 +23,18 @@ public interface Item extends Entity {
* @param stack An item stack. * @param stack An item stack.
*/ */
public void setItemStack(ItemStack stack); public void setItemStack(ItemStack stack);
/**
* Gets the delay before this Item is available to be picked up by players
*
* @return Remaining delay
*/
public int getPickupDelay();
/**
* Sets the delay before this Item is available to be picked up by players
*
* @param delay New delay
*/
public void setPickupDelay(int delay);
} }