Added full tile entity data support for all block types that use it, including chests, dispensers, furnaces, mob spawners, and note blocks.
By: sk89q <the.sk89q@gmail.com>
This commit is contained in:
22
paper-api/src/main/java/org/bukkit/block/NoteBlock.java
Normal file
22
paper-api/src/main/java/org/bukkit/block/NoteBlock.java
Normal file
@@ -0,0 +1,22 @@
|
||||
package org.bukkit.block;
|
||||
|
||||
/**
|
||||
* Represents a note.
|
||||
*
|
||||
* @author sk89q
|
||||
*/
|
||||
public interface NoteBlock extends BlockState {
|
||||
/**
|
||||
* Gets the note.
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public byte getNote();
|
||||
|
||||
/**
|
||||
* Set the note.
|
||||
*
|
||||
* @param note
|
||||
*/
|
||||
public void setNote(byte note);
|
||||
}
|
||||
Reference in New Issue
Block a user