mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 23:10:16 +01:00
More Lidded Block API
This commit is contained in:
parent
547577ccb6
commit
c9ba0ebadb
1 changed files with 9 additions and 0 deletions
|
@ -13,4 +13,13 @@ public interface Lidded {
|
|||
* viewing this block.
|
||||
*/
|
||||
void close();
|
||||
|
||||
// Paper start - More Lidded Block API
|
||||
/**
|
||||
* Checks if the block's animation state.
|
||||
*
|
||||
* @return true if the block's animation state is set to open.
|
||||
*/
|
||||
boolean isOpen();
|
||||
// Paper end - More Lidded Block API
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue