[Bleeding] MaterialData fixes. Addresses BUKKIT-842

By: Celtic Minstrel <celtic.minstrel.ca@some.place>
This commit is contained in:
Bukkit/Spigot
2012-02-26 22:07:26 -05:00
parent a6d03a475c
commit fb55ed2a78
9 changed files with 631 additions and 48 deletions

View File

@@ -0,0 +1,17 @@
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);
}