summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/bukkit/entity/ItemFrame.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/entity/ItemFrame.java b/src/main/java/org/bukkit/entity/ItemFrame.java
index 8b86815d..6ff651ad 100644
--- a/src/main/java/org/bukkit/entity/ItemFrame.java
+++ b/src/main/java/org/bukkit/entity/ItemFrame.java
@@ -23,6 +23,14 @@ public interface ItemFrame extends Hanging {
public void setItem(ItemStack item);
/**
+ * Set the item in this frame
+ *
+ * @param item the new item
+ * @param playSound whether or not to play the item placement sound
+ */
+ public void setItem(ItemStack item, boolean playSound);
+
+ /**
* Get the rotation of the frame's item
*
* @return the direction