Uses of Interface
de.marcely.bedwars.api.game.spectator.Spectator
Packages that use Spectator
Package
Description
The root package of the MBedwars API
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.
-
Uses of Spectator in de.marcely.bedwars.api
Methods in de.marcely.bedwars.api that return SpectatorModifier and TypeMethodDescription@Nullable SpectatorGameAPI.getSpectatorByPlayer(Player player) Tries to find the corresponding Spectator instance given by its player.Methods in de.marcely.bedwars.api that return types with arguments of type SpectatorModifier and TypeMethodDescriptionGameAPI.getSpectators()Returns the spectator data of every player who is currently spectating. -
Uses of Spectator in de.marcely.bedwars.api.arena
Methods in de.marcely.bedwars.api.arena that return SpectatorModifier and TypeMethodDescriptiondefault @Nullable SpectatorArena.addSpectator(Player player) @Nullable SpectatorArena.addSpectator(Player player, SpectateReason reason) Adds a player as a spectator.@Nullable SpectatorArena.getSpectateData(Player player) Looks and returns the spectator data of the player.Methods in de.marcely.bedwars.api.arena that return types with arguments of type SpectatorModifier and TypeMethodDescriptionArena.getEverySpectatorData()Returns the spectator data of every player who's currently spectating this arena -
Uses of Spectator in de.marcely.bedwars.api.event.player
Methods in de.marcely.bedwars.api.event.player that return SpectatorModifier and TypeMethodDescriptionSpectatorItemUseEvent.getSpectator()Returns the spectator who is about to use the item.SpectatorJoinArenaEvent.getSpectator()Returns the spectator who's trying to join.SpectatorQuitArenaEvent.getSpectator()Returns the spectator.Constructors in de.marcely.bedwars.api.event.player with parameters of type SpectatorModifierConstructorDescriptionSpectatorItemUseEvent(Spectator spectator, SpectatorItem item) SpectatorJoinArenaEvent(Spectator spectator) SpectatorQuitArenaEvent(Spectator spectator, KickSpectatorReason reason) -
Uses of Spectator in de.marcely.bedwars.api.game.spectator
Methods in de.marcely.bedwars.api.game.spectator with parameters of type SpectatorModifier and TypeMethodDescriptionabstract voidSpectatorItemHandler.handleUse(Spectator spectator, SpectatorItem item) Handles the execution of the item.abstract booleanSpectatorItemHandler.isVisible(Spectator spectator, SpectatorItem item) Whether or not the item shall be shown and usable at the given circumstances.