001    package org.bukkit.material;
002    
003    public interface Openable {
004    
005        /**
006         * Check to see if the door is open.
007         *
008         * @return true if the door has swung counterclockwise around its hinge.
009         */
010        boolean isOpen();
011    
012        /**
013         * Configure this door to be either open or closed;
014         *
015         * @param isOpen True to open the door.
016         */
017        void setOpen(boolean isOpen);
018    }