Package org.screamingsandals.bedwars.api
Interface RunningTeam
- All Superinterfaces:
Team
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addTeamChest
(org.bukkit.block.Block block) void
addTeamChest
(org.bukkit.Location location) int
int
List<org.bukkit.entity.Player>
org.bukkit.scoreboard.Team
org.bukkit.inventory.Inventory
boolean
isAlive()
boolean
isDead()
boolean
isPlayerInTeam
(org.bukkit.entity.Player player) boolean
boolean
isTeamChestRegistered
(org.bukkit.block.Block block) boolean
isTeamChestRegistered
(org.bukkit.Location location) void
removeTeamChest
(org.bukkit.block.Block block) void
removeTeamChest
(org.bukkit.Location location) Methods inherited from interface org.screamingsandals.bedwars.api.Team
getColor, getGame, getMaxPlayers, getName, getTargetBlock, getTeamSpawn, isNewColor
-
Method Details
-
countConnectedPlayers
int countConnectedPlayers()- Returns:
-
getConnectedPlayers
List<org.bukkit.entity.Player> getConnectedPlayers()- Returns:
-
isPlayerInTeam
boolean isPlayerInTeam(org.bukkit.entity.Player player) - Parameters:
player
-- Returns:
-
isDead
boolean isDead()- Returns:
-
isAlive
boolean isAlive()- Returns:
-
isTargetBlockExists
boolean isTargetBlockExists()- Returns:
-
getScoreboardTeam
org.bukkit.scoreboard.Team getScoreboardTeam()- Returns:
-
addTeamChest
void addTeamChest(org.bukkit.Location location) - Parameters:
location
-
-
addTeamChest
void addTeamChest(org.bukkit.block.Block block) - Parameters:
block
-
-
removeTeamChest
void removeTeamChest(org.bukkit.Location location) - Parameters:
location
-
-
removeTeamChest
void removeTeamChest(org.bukkit.block.Block block) - Parameters:
block
-
-
isTeamChestRegistered
boolean isTeamChestRegistered(org.bukkit.Location location) - Parameters:
location
-- Returns:
-
isTeamChestRegistered
boolean isTeamChestRegistered(org.bukkit.block.Block block) - Parameters:
block
-- Returns:
-
getTeamChestInventory
org.bukkit.inventory.Inventory getTeamChestInventory()- Returns:
-
countTeamChests
int countTeamChests()- Returns:
-