mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-15 14:13:56 +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.
|
* viewing this block.
|
||||||
*/
|
*/
|
||||||
void close();
|
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