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

By: sk89q <the.sk89q@gmail.com>
This commit is contained in:
Bukkit/Spigot 2011-02-23 10:03:33 -08:00
parent 6132abb1f5
commit f712d6011d

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);
}