Interface TeamSelectorController

All Superinterfaces:
HologramController

public interface TeamSelectorController extends HologramController
Extending API if HologramControllerType.TEAM_SELECTOR is used.

Cast HologramEntity.getController() to this class to access the methods.

  • Method Details

    • getTeam

      Team getTeam()
      Get the team that will be selected when clicked on.
      Returns:
      The team that will be selected
    • setTeam

      void setTeam(Team team)
      Set the team that will be selected when clicked on.

      Make sure to call HologramController.applyProperties() after changing the name to update the hologram.

      Parameters:
      team - The team that will be selected