public interface BotFight extends Fight
Modifier and Type | Method and Description |
---|---|
java.lang.String |
difficulty()
Gets the difficulty of the fight.
|
java.util.Collection<PracticeBot> |
getBots()
Gets a collection of practice bots participating in the fight.
|
CitizensNPC.Difficulty |
getDifficulty()
Deprecated.
Use
difficulty() instead. |
void |
handleBotDeath(Metadatable ent)
Handles the death of a bot in the fight.
|
default void |
setDifficulty(CitizensNPC.Difficulty difficulty)
Deprecated.
Use
setDifficulty(String) instead. |
void |
setDifficulty(java.lang.String difficulty)
Sets the difficulty of the fight.
|
addBlockChange, allowSpectating, canStart, clearBlockChanges, forceEnd, forceEndDelayed, getArena, getBlockChanges, getBlockChangesMap, getDuration, getDurationLimit, getEnded, getFightStatistics, getFightStatistics, getKit, getOpponents, getPlayerNames, getPlayersInFight, getSpectators, getStarted, getStatistics, getStatistics, getStatistics, getTeammates, handleDeath, hasEnded, hasStarted, playersAreOpponents, playersAreTeammates, saveFight, setArena, setKit, setStartedAfterCountdown, start
java.lang.String difficulty()
void setDifficulty(java.lang.String difficulty)
difficulty
- The difficulty of the fight as a string.@Deprecated CitizensNPC.Difficulty getDifficulty()
difficulty()
instead.@Deprecated default void setDifficulty(CitizensNPC.Difficulty difficulty)
setDifficulty(String)
instead.difficulty
- The difficulty of the fight as a Difficulty enum.void handleBotDeath(Metadatable ent)
ent
- The Metadatable object representing the deceased bot.java.util.Collection<PracticeBot> getBots()