diff options
-rw-r--r-- | src/main/java/org/bukkit/entity/ItemDrop.java | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/main/java/org/bukkit/entity/ItemDrop.java b/src/main/java/org/bukkit/entity/ItemDrop.java index b43159ee..33a96291 100644 --- a/src/main/java/org/bukkit/entity/ItemDrop.java +++ b/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);
}
|