Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.material.Openable Interface Reference
Inheritance diagram for org.bukkit.material.Openable:
org.bukkit.material.Door org.bukkit.material.Gate org.bukkit.material.TrapDoor

Public Member Functions

boolean isOpen ()
 
void setOpen (boolean isOpen)
 

Detailed Description

Definition at line 3 of file Openable.java.

Member Function Documentation

boolean org.bukkit.material.Openable.isOpen ( )

Check to see if the door is open.

Returns
true if the door has swung counterclockwise around its hinge.

Implemented in org.bukkit.material.Gate, org.bukkit.material.Door, and org.bukkit.material.TrapDoor.

void org.bukkit.material.Openable.setOpen ( boolean  isOpen)

Configure this door to be either open or closed;

Parameters
isOpenTrue to open the door.

Implemented in org.bukkit.material.Gate, org.bukkit.material.Door, and org.bukkit.material.TrapDoor.


The documentation for this interface was generated from the following file: