diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-02-01 10:43:31 +0000 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-02-01 10:43:31 +0000 |
commit | 3a1f5647e6ca5410d417b1136a47615e602c0cc0 (patch) | |
tree | d3de991d070b1fdc47c3782958a356fc9416596e /src | |
parent | 630f9a89d6e14f3ca1fe194fa418baabf4491757 (diff) | |
download | bukkit-3a1f5647e6ca5410d417b1136a47615e602c0cc0.tar bukkit-3a1f5647e6ca5410d417b1136a47615e602c0cc0.tar.gz bukkit-3a1f5647e6ca5410d417b1136a47615e602c0cc0.tar.lz bukkit-3a1f5647e6ca5410d417b1136a47615e602c0cc0.tar.xz bukkit-3a1f5647e6ca5410d417b1136a47615e602c0cc0.zip |
Added setItemStack(ItemStack stack) to ItemDrop
Diffstat (limited to 'src')
-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);
}
|