SPIGOT-4314: Ability to change item in frame without playing sound

By: simpleauthority <jacob@algorithmjunkie.com>
This commit is contained in:
Bukkit/Spigot 2018-09-11 00:07:14 -07:00
parent 4b889af28d
commit 5f1c3987ab

View File

@ -22,6 +22,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
*