Module gomint.api

Interface BlockTrapdoor

    • Method Detail

      • isOpen

        boolean isOpen()
        Is the trapdoor open or closed?
        Returns:
        true when the trapdoor is open, false when not
      • toggle

        void toggle()
        Open or close a trapdoor. The target state depends on the isOpen() state