geforkt von Mirrors/Paper
SPIGOT-4314: Ability to change item in frame without playing sound
By: simpleauthority <jacob@algorithmjunkie.com>
Dieser Commit ist enthalten in:
Ursprung
4b889af28d
Commit
5f1c3987ab
@ -22,6 +22,14 @@ public interface ItemFrame extends Hanging {
|
|||||||
*/
|
*/
|
||||||
public void setItem(ItemStack item);
|
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
|
* Get the rotation of the frame's item
|
||||||
*
|
*
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren