Files
Paper/paper-api/src/main/java/org/bukkit/material/Openable.java
Bukkit/Spigot bb50f1a774 Pulling all pending Bukkit-JavaDoc changes
A special thanks goes to @aerouk for almost all of the changes found here.

By: Wesley Wolfe <weswolf@aol.com>
2013-12-15 01:07:43 -05:00

19 lines
382 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);
}