Interface TeamSelectorController
- All Superinterfaces:
HologramController
Extending API if
HologramControllerType.TEAM_SELECTOR
is used.
Cast HologramEntity.getController()
to this class to access the methods.
-
Method Summary
Methods inherited from interface de.marcely.bedwars.api.world.hologram.HologramController
applyProperties, deserialize, getHologram, getType, handleInteract, isActive, serialize
-
Method Details
-
getTeam
Team getTeam()Get the team that will be selected when clicked on.- Returns:
- The team that will be selected
-
setTeam
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
-