Added setItemStack(ItemStack stack) to ItemDrop

This commit is contained in:
Dinnerbone 2011-02-01 10:43:31 +00:00
parent 630f9a89d6
commit 3a1f5647e6

View File

@ -9,9 +9,17 @@ import org.bukkit.inventory.ItemStack;
*/
public interface ItemDrop extends Entity {
/**
* Gets the item stack.
*
* @return
* Gets the item stack contained in this ItemDrop
*
* @return ItemStack of the contents of this drop
*/
public ItemStack getItemStack();
/**
* sets the item stack contained in this ItemDrop
*
* @param items New contents of this drop
*/
public void setItemStack(ItemStack items);
}