Package org.bukkit.material
Interface Openable
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isOpen()
Deprecated, for removal: This API element is subject to removal in a future version.Check to see if the door is open.void
setOpen
(boolean isOpen) Deprecated, for removal: This API element is subject to removal in a future version.Configure this door to be either open or closed;
-
Method Details
-
isOpen
boolean isOpen()Deprecated, for removal: This API element is subject to removal in a future version.Check to see if the door is open.- Returns:
- true if the door has swung counterclockwise around its hinge.
-
setOpen
void setOpen(boolean isOpen) Deprecated, for removal: This API element is subject to removal in a future version.Configure this door to be either open or closed;- Parameters:
isOpen
- True to open the door.
-