Uses of Enum
de.marcely.bedwars.api.game.spectator.SpectateReason
Packages that use 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
Methods in de.marcely.bedwars.api.arena with parameters of type SpectateReasonModifier and TypeMethodDescription@Nullable SpectatorArena.addSpectator(Player player, SpectateReason reason) Adds a player as a spectator. -
Uses of SpectateReason in de.marcely.bedwars.api.event.player
Methods in de.marcely.bedwars.api.event.player that return SpectateReasonModifier and TypeMethodDescriptionSpectatorJoinArenaEvent.getReason()Returns the reason why he got into a spectator. -
Uses of SpectateReason in de.marcely.bedwars.api.game.spectator
Subclasses with type arguments of type SpectateReason in de.marcely.bedwars.api.game.spectatorMethods in de.marcely.bedwars.api.game.spectator that return SpectateReasonModifier and TypeMethodDescriptionSpectator.getReason()Returns the reason or the cause of him being a spectator.static SpectateReasonReturns 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
Methods in de.marcely.bedwars.api.remote that return SpectateReasonModifier and TypeMethodDescriptionSpectateRemotePlayerInfo.getReason()Get the reason for why the player shall be added as a spectator.Methods in de.marcely.bedwars.api.remote with parameters of type SpectateReasonModifier and TypeMethodDescriptiondefault voidRemoteArena.addSpectator(RemotePlayer player, SpectateReason reason) Deprecated.default voidRemoteArena.addSpectator(RemotePlayer player, SpectateReason reason, boolean ignoreArenaStatus) Deprecated.voidRemoteArena.addSpectator(RemotePlayer player, SpectateReason reason, boolean ignoreArenaStatus, @Nullable Consumer<RemoteSpectatorAddResult> callback) Deprecated.default voidRemoteArena.addSpectator(RemotePlayer player, SpectateReason reason, @Nullable Consumer<RemoteSpectatorAddResult> callback) Deprecated.voidRemoteAPI.addSpectatorToArena(RemotePlayer player, RemoteArena arena, SpectateReason reason, boolean ignoreArenaState, @Nullable Consumer<RemoteSpectatorAddResult> callback) SpectateRemotePlayerInfo.setReason(SpectateReason reason) Define the reason for why the player shall be added as a spectator.
RemoteArena.addSpectator(SpectateRemotePlayerInfo, Consumer)