Interface Team<L extends org.screamingsandals.lib.utils.Wrapper,C extends TeamColor,G extends Game<?,?,?,?,?,?,?,?,?>,I extends org.screamingsandals.lib.utils.Wrapper,P extends BWPlayer>

Type Parameters:
L - Location
C - Color
G - Game
I - Inventory

@NonExtendable public interface Team<L extends org.screamingsandals.lib.utils.Wrapper,C extends TeamColor,G extends Game<?,?,?,?,?,?,?,?,?>,I extends org.screamingsandals.lib.utils.Wrapper,P extends BWPlayer>
  • Method Details

    • getGame

      G getGame()
      Returns:
    • getName

      String getName()
      Returns:
    • getColor

      C getColor()
      Returns:
    • getTeamSpawn

      L getTeamSpawn()
      Returns:
    • getTargetBlock

      L getTargetBlock()
      Returns:
    • getMaxPlayers

      int getMaxPlayers()
      Returns:
    • getTeamChestInventory

      I getTeamChestInventory()
    • addTeamChest

      void addTeamChest(Object location)
      Parameters:
      location -
    • removeTeamChest

      void removeTeamChest(Object location)
      Parameters:
      location -
    • isTeamChestRegistered

      boolean isTeamChestRegistered(Object location)
      Parameters:
      location -
      Returns:
    • countTeamChests

      int countTeamChests()
      Returns:
    • isTargetBlockIntact

      boolean isTargetBlockIntact()
      Returns:
    • countConnectedPlayers

      int countConnectedPlayers()
      Returns:
    • getPlayers

      List<P> getPlayers()
      Returns:
    • isPlayerInTeam

      boolean isPlayerInTeam(P player)
      Parameters:
      player -
      Returns:
    • isDead

      boolean isDead()
      Returns:
    • isAlive

      boolean isAlive()
      Returns: