From 811c06d0991f228169caac0115d423286393a006 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Tue, 1 Feb 2011 10:43:31 +0000 Subject: [PATCH] Added setItemStack(ItemStack stack) to ItemDrop By: Dinnerbone --- .../src/main/java/org/bukkit/entity/ItemDrop.java | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/paper-api/src/main/java/org/bukkit/entity/ItemDrop.java b/paper-api/src/main/java/org/bukkit/entity/ItemDrop.java index b43159ee8a..33a9629142 100644 --- a/paper-api/src/main/java/org/bukkit/entity/ItemDrop.java +++ b/paper-api/src/main/java/org/bukkit/entity/ItemDrop.java @@ -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); }