Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
Openable.java
1 package org.bukkit.material;
2 
3 public interface Openable {
4 
5  /**
6  * Check to see if the door is open.
7  *
8  * @return true if the door has swung counterclockwise around its hinge.
9  */
10  boolean isOpen();
11 
12  /**
13  * Configure this door to be either open or closed;
14  *
15  * @param isOpen True to open the door.
16  */
17  void setOpen(boolean isOpen);
18 }
void setOpen(boolean isOpen)