17 lines
352 B
Java
17 lines
352 B
Java
package org.bukkit.block;
|
|
|
|
public interface Lidded {
|
|
|
|
/**
|
|
* Sets the block's animated state to open and prevents it from being closed
|
|
* until {@link #close()} is called.
|
|
*/
|
|
void open();
|
|
|
|
/**
|
|
* Sets the block's animated state to closed even if a player is currently
|
|
* viewing this block.
|
|
*/
|
|
void close();
|
|
}
|