Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
Item.java
1 package org.bukkit.entity;
2 
4 
5 /**
6  * Represents an Item.
7  */
8 public interface Item extends Entity {
9 
10  /**
11  * Gets the item stack associated with this item drop.
12  *
13  * @return An item stack.
14  */
15  public ItemStack getItemStack();
16 
17  /**
18  * Sets the item stack associated with this item drop.
19  *
20  * @param stack An item stack.
21  */
22  public void setItemStack(ItemStack stack);
23 
24  /**
25  * Gets the delay before this Item is available to be picked up by players
26  *
27  * @return Remaining delay
28  */
29  public int getPickupDelay();
30 
31  /**
32  * Sets the delay before this Item is available to be picked up by players
33  *
34  * @param delay New delay
35  */
36  public void setPickupDelay(int delay);
37 }
ItemStack getItemStack()
void setItemStack(ItemStack stack)
void setPickupDelay(int delay)