Uses of Enum
de.marcely.bedwars.api.game.spectator.SpectateReason
Package
Description
Contains classes that are related to the
Arena
.Events related to
Player
actions, or changes to player properties.Classes dedicated to players Spectating in MBedwars.
Classes used to manage other servers running MBedwars remotely.
-
Uses of SpectateReason in de.marcely.bedwars.api.arena
Modifier and TypeMethodDescription@Nullable Spectator
Arena.addSpectator
(Player player, SpectateReason reason) Adds a player as a spectator. -
Uses of SpectateReason in de.marcely.bedwars.api.event.player
Modifier and TypeMethodDescriptionSpectatorJoinArenaEvent.getReason()
Returns the reason why he got into a spectator. -
Uses of SpectateReason in de.marcely.bedwars.api.game.spectator
Modifier and TypeMethodDescriptionSpectator.getReason()
Returns the reason or the cause of him being a spectator.static SpectateReason
Returns the enum constant of this type with the specified name.static SpectateReason[]
SpectateReason.values()
Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of SpectateReason in de.marcely.bedwars.api.remote
Modifier and TypeMethodDescriptiondefault void
RemoteArena.addSpectator
(RemotePlayer player, SpectateReason reason) Adds a spectator into the arena.default void
RemoteArena.addSpectator
(RemotePlayer player, SpectateReason reason, boolean ignoreArenaStatus) Adds a spectator into the arena.void
RemoteArena.addSpectator
(RemotePlayer player, SpectateReason reason, boolean ignoreArenaStatus, @Nullable Consumer<RemoteSpectatorAddResult> callback) Adds a spectator into the arena.default void
RemoteArena.addSpectator
(RemotePlayer player, SpectateReason reason, @Nullable Consumer<RemoteSpectatorAddResult> callback) Adds a spectator into the arena.void
RemoteAPI.addSpectatorToArena
(RemotePlayer player, RemoteArena arena, SpectateReason reason, boolean ignoreArenaState, @Nullable Consumer<RemoteSpectatorAddResult> callback) Makes a player enter an arena as a spectator.