Interface DisplaySlot

    • Method Detail

      • findByTeamColor

        static java.util.Optional<DisplaySlot> findByTeamColor​(NamedTextColor color)
        Finds and retrieves the sidebar display slot for the specified NamedTextColor associated with a Team, if one exists.
        Parameters:
        color - The NamedTextColor
        Returns:
        The slot, if one was found
      • teamColor

        java.util.Optional<NamedTextColor> teamColor()
        Gets the Team color that this objective will display.
        Returns:
        The team color or Optional.empty() if not set