mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-24 09:59:42 -05:00
18 lines
381 B
Java
18 lines
381 B
Java
package org.bukkit.material;
|
|
|
|
public interface Openable {
|
|
/**
|
|
* Check to see if the door is open.
|
|
*
|
|
* @return true if the door has swung counterclockwise around its hinge.
|
|
*/
|
|
boolean isOpen();
|
|
|
|
/**
|
|
* Configure this door to be either open or closed;
|
|
*
|
|
* @param isOpen True to open the door.
|
|
*/
|
|
void setOpen(boolean isOpen);
|
|
}
|