Added Item.(get|set)ItemStack().

This commit is contained in:
sk89q
2011-02-23 10:03:33 -08:00
parent 9732b43b5a
commit 21c2166f6c

View File

@@ -1,8 +1,7 @@
/**
*
*/
package org.bukkit.entity;
import org.bukkit.inventory.ItemStack;
/**
* Represents an Item.
*
@@ -11,4 +10,17 @@ package org.bukkit.entity;
*/
public interface Item extends Entity {
/**
* Gets the item stack associated with this item drop.
*
* @return
*/
public ItemStack getItemStack();
/**
* Sets the item stack associated with this item drop.
*
* @param stack
*/
public void setItemStack(ItemStack stack);
}