Newer
Older
ultramine_bukkit / src / main / java / org / bukkit / material / Openable.java
@vlad20012 vlad20012 on 24 Feb 2017 345 bytes initial
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);
}