Class TeamMock
java.lang.Object
be.seeseemelk.mockbukkit.scoreboard.TeamMock
- All Implemented Interfaces:
org.bukkit.scoreboard.Team
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.bukkit.scoreboard.Team
org.bukkit.scoreboard.Team.Option, org.bukkit.scoreboard.Team.OptionStatus -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddPlayer(org.bukkit.OfflinePlayer offlinePlayer) Deprecated.booleanbooleanorg.bukkit.ChatColorgetColor()getName()org.bukkit.scoreboard.NameTagVisibilityDeprecated.org.bukkit.scoreboard.Team.OptionStatusgetOption(org.bukkit.scoreboard.Team.Option option) Set<org.bukkit.OfflinePlayer>Deprecated.org.bukkit.scoreboard.ScoreboardintgetSize()booleanbooleanhasPlayer(org.bukkit.OfflinePlayer offlinePlayer) Deprecated.booleanbooleanremovePlayer(org.bukkit.OfflinePlayer offlinePlayer) Deprecated.voidsetAllowFriendlyFire(boolean b) voidsetCanSeeFriendlyInvisibles(boolean b) voidsetColor(org.bukkit.ChatColor chatColor) voidvoidsetNameTagVisibility(org.bukkit.scoreboard.NameTagVisibility nameTagVisibility) Deprecated.voidsetOption(org.bukkit.scoreboard.Team.Option option, org.bukkit.scoreboard.Team.OptionStatus optionStatus) voidvoidvoid
-
Constructor Details
-
TeamMock
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceorg.bukkit.scoreboard.Team- Throws:
IllegalStateException
-
getDisplayName
- Specified by:
getDisplayNamein interfaceorg.bukkit.scoreboard.Team- Throws:
IllegalStateException
-
setDisplayName
- Specified by:
setDisplayNamein interfaceorg.bukkit.scoreboard.Team
-
getPrefix
- Specified by:
getPrefixin interfaceorg.bukkit.scoreboard.Team- Throws:
IllegalStateException
-
setPrefix
- Specified by:
setPrefixin interfaceorg.bukkit.scoreboard.Team
-
getSuffix
- Specified by:
getSuffixin interfaceorg.bukkit.scoreboard.Team- Throws:
IllegalStateException
-
setSuffix
- Specified by:
setSuffixin interfaceorg.bukkit.scoreboard.Team
-
getColor
- Specified by:
getColorin interfaceorg.bukkit.scoreboard.Team- Throws:
IllegalStateException
-
setColor
public void setColor(org.bukkit.ChatColor chatColor) - Specified by:
setColorin interfaceorg.bukkit.scoreboard.Team
-
allowFriendlyFire
- Specified by:
allowFriendlyFirein interfaceorg.bukkit.scoreboard.Team- Throws:
IllegalStateException
-
setAllowFriendlyFire
- Specified by:
setAllowFriendlyFirein interfaceorg.bukkit.scoreboard.Team- Throws:
IllegalStateException
-
canSeeFriendlyInvisibles
- Specified by:
canSeeFriendlyInvisiblesin interfaceorg.bukkit.scoreboard.Team- Throws:
IllegalStateException
-
setCanSeeFriendlyInvisibles
- Specified by:
setCanSeeFriendlyInvisiblesin interfaceorg.bukkit.scoreboard.Team- Throws:
IllegalStateException
-
getNameTagVisibility
Deprecated.- Specified by:
getNameTagVisibilityin interfaceorg.bukkit.scoreboard.Team
-
setNameTagVisibility
@Deprecated public void setNameTagVisibility(org.bukkit.scoreboard.NameTagVisibility nameTagVisibility) Deprecated.- Specified by:
setNameTagVisibilityin interfaceorg.bukkit.scoreboard.Team
-
getPlayers
Deprecated.- Specified by:
getPlayersin interfaceorg.bukkit.scoreboard.Team- Throws:
IllegalStateException
-
getEntries
- Specified by:
getEntriesin interfaceorg.bukkit.scoreboard.Team- Throws:
IllegalStateException
-
getSize
- Specified by:
getSizein interfaceorg.bukkit.scoreboard.Team- Throws:
IllegalStateException
-
getScoreboard
public org.bukkit.scoreboard.Scoreboard getScoreboard()- Specified by:
getScoreboardin interfaceorg.bukkit.scoreboard.Team
-
addPlayer
Deprecated.- Specified by:
addPlayerin interfaceorg.bukkit.scoreboard.Team
-
addEntry
- Specified by:
addEntryin interfaceorg.bukkit.scoreboard.Team
-
removePlayer
Deprecated.- Specified by:
removePlayerin interfaceorg.bukkit.scoreboard.Team
-
removeEntry
- Specified by:
removeEntryin interfaceorg.bukkit.scoreboard.Team
-
unregister
- Specified by:
unregisterin interfaceorg.bukkit.scoreboard.Team- Throws:
IllegalStateException
-
hasPlayer
Deprecated.- Specified by:
hasPlayerin interfaceorg.bukkit.scoreboard.Team
-
hasEntry
- Specified by:
hasEntryin interfaceorg.bukkit.scoreboard.Team
-
getOption
public org.bukkit.scoreboard.Team.OptionStatus getOption(org.bukkit.scoreboard.Team.Option option) throws IllegalStateException - Specified by:
getOptionin interfaceorg.bukkit.scoreboard.Team- Throws:
IllegalStateException
-
setOption
public void setOption(org.bukkit.scoreboard.Team.Option option, org.bukkit.scoreboard.Team.OptionStatus optionStatus) throws IllegalStateException - Specified by:
setOptionin interfaceorg.bukkit.scoreboard.Team- Throws:
IllegalStateException
-