Module gomint.api

Interface BlockWallSign

    • Method Detail

      • getLines

        List<String> getLines()
        Get a copy of all lines on this sign. The maximum size of this list is 4.
        Returns:
        list of all lines
      • setLine

        void setLine​(int line,
                     String content)
        Set a specific line to new content. When you set line 2 and there is no other line line 1 will be empty string
        Parameters:
        line - which should be set
        content - which should be set for the line given
      • getLine

        String getLine​(int line)
        Get a specific line of the sign content
        Parameters:
        line - which you want to get
        Returns:
        string or null when not set