Module gomint.api

Interface ScoreboardDisplay


  • public interface ScoreboardDisplay
    Version:
    1.0
    Author:
    geNAZt
    • Method Detail

      • getDisplayName

        String getDisplayName()
        Get the name of this display
        Returns:
        display name
      • getObjectiveName

        String getObjectiveName()
        Get the name of the objective
        Returns:
        objective name
      • getSortOrder

        SortOrder getSortOrder()
        Get the order in which the ids should be sorted
        Returns:
        the order in which the ids should be sorted
      • addEntity

        DisplayEntry addEntity​(Entity entity,
                               int score)
        Add a new entity to the display
        Parameters:
        entity - which should be displayed
        score - which should be displayed with the entity
      • addLine

        DisplayEntry addLine​(String line,
                             int score)
        Add a new line to the display
        Parameters:
        line - which should be added to the display
        score - which should be given to the line