Added setItemStack(ItemStack stack) to ItemDrop

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
Bukkit/Spigot 2011-02-01 10:43:31 +00:00
parent 77b6112b65
commit 811c06d099

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