- GameMode - Enum in net.amigocraft.mglib.api
-
A platform-independent enumeration of available gamemodes.
- get(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
-
- get(String, Object) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
-
- getAlivePlayerCount() - Method in class net.amigocraft.mglib.api.Round
-
Retrieves the number of in-game (non-spectating)
MGPlayers
in this
Round
.
- getAlivePlayerList() - Method in class net.amigocraft.mglib.api.Round
-
Retrieves a list of non-spectating
MGPlayers
in this
round.
- getAllMetadata() - Method in class net.amigocraft.mglib.api.MGPlayer
-
- getAllMetadata() - Method in class net.amigocraft.mglib.api.Round
-
- getAllMetadata() - Method in interface net.amigocraft.mglib.misc.Metadatable
-
Retrieves a HashMap
representing this object's complete metadata.
- getAllowJoinRoundInProgress() - Method in class net.amigocraft.mglib.api.ConfigManager
-
- getAllowJoinRoundWhilePreparing() - Method in class net.amigocraft.mglib.api.ConfigManager
-
- getArena() - Method in class net.amigocraft.mglib.api.ArenaFactory
-
Retrieves the name of the arena associated with this
ArenaFactory
.
- getArena() - Method in class net.amigocraft.mglib.api.LobbySign
-
Retrieves the arena associated with this lobby sign.
- getArena() - Method in class net.amigocraft.mglib.api.MGPlayer
-
Gets the arena associated with this
MGPlayer
.
- getArena() - Method in class net.amigocraft.mglib.api.Round
-
Gets the name of the arena associated with this
Round
.
- getArenaFactory(String) - Method in class net.amigocraft.mglib.api.Minigame
-
Retrieves an
ArenaFactory
for the arena of the specified name.
- getAttachedSign(Block) - Static method in class net.amigocraft.mglib.MGUtil
-
Retrieves the sign attached to a given block, or null if ones does not
exist.
- getBoolean(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
-
- getBoolean(String, boolean) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
-
- getBooleanList(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
-
- getBukkitPlayer() - Method in class net.amigocraft.mglib.api.MGPlayer
-
- getByteList(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
-
- getCause() - Method in class net.amigocraft.mglib.event.player.MGPlayerDeathEvent
-
Retrieves the cause of death (i.e.
- getCharacterList(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
-
- getCode() - Method in enum net.amigocraft.mglib.api.Color
-
Gets the code associated with this
Color
.
- getColor(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
-
- getColor(String, Color) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
-
- getConfigManager() - Method in class net.amigocraft.mglib.api.Minigame
-
Retrieves this minigame's config manager.
- getConfigManager() - Method in class net.amigocraft.mglib.api.Round
-
- getConfigurationSection(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
-
- getCraftClass(String) - Static method in class net.amigocraft.mglib.util.NmsUtil
-
Retrieves a class by the given name from the package
org.bukkit.craftbukkit
.
- getDefault(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
-
- getDefaultExitLocation() - Method in class net.amigocraft.mglib.api.ConfigManager
-
- getDefaultGameMode() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves the default
gamemode
for players entering
minigame rounds.
- getDefaultLocale() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves the locale to fall back to if the one defined in the MGLib
config cannot be loaded.
- getDefaultPlayingTime() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves the default time allotted to a round's
playing
period (default: 300).
- getDefaultPreparationTime() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets the default time allotted to a round's
preparation
period (default: 90).
- getDisplayName() - Method in class net.amigocraft.mglib.api.ArenaFactory
-
Retrieves the display name of the arena associated with this
ArenaFactory
.
- getDisplayName() - Method in class net.amigocraft.mglib.api.Round
-
Retrieves the display name of the round's arena.
- getDouble(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
-
- getDouble(String, double) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
-
- getDoubleList(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
-
- getEnvironment(String) - Static method in class net.amigocraft.mglib.MGUtil
-
Determines the environment of the given world based on its folder
structure.
- getExitLocation() - Method in class net.amigocraft.mglib.api.Round
-
- getFloatList(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
-
- getGameMode(String) - Static method in enum net.amigocraft.mglib.api.GameMode
-
- getHandlerList() - Static method in class net.amigocraft.mglib.event.MGLibEvent
-
- getHandlers() - Method in class net.amigocraft.mglib.event.MGLibEvent
-
- getIndex() - Method in class net.amigocraft.mglib.api.LobbySign
-
Retrieves the internal index of this lobby sign.
- getInt(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
-
- getInt(String, int) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
-
- getIntegerList(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
-
- getItemStack(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
-
- getItemStack(String, ItemStack) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
-
- getKiller() - Method in class net.amigocraft.mglib.event.player.MGPlayerDeathEvent
-
Retrieves the entity which killed the player, if applicable.
- getList(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
-
- getList(String, List<?>) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
-
- getLobbyArenaColor() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves the color of the top line (the arena name) of a lobby sign.
- getLobbyColorAttribute(String) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves a specific color attribute for lobby signs associated with this
manager's plugin.
- getLobbyColorAttributes() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves a copy of the hashmap containing all color attributes for lobby
signs associated with this manager's plugin.
- getLobbyManager() - Method in class net.amigocraft.mglib.api.Minigame
-
Retrieves this minigame's lobby manager.
- getLobbyPlayerCountColor() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves the color of a lobby sign's player count when the round is not
full.
- getLobbyPlayerCountFullColor() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves the color of a lobby sign's player count when the round is
full.
- getLobbyPlayingColor() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves the color of a lobby sign's
PLAYING
status.
- getLobbyPreparingColor() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves the color of a lobby sign's
PREPARING
status.
- getLobbyResettingColor() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves the color of a lobby sign's
RESETTING
status.
- getLobbySign() - Method in class net.amigocraft.mglib.event.round.LobbyClickEvent
-
Retrieves the
lobby sign
object involved in this event.
- getLobbyTimeColor() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves the color of a lobby sign's timer when remaining time is
greater than 60 seconds.
- getLobbyTimeInfiniteColor() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves the color of a lobby sign's timer when remaining time is
infinite.
- getLobbyTimeWarningColor() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves the color of a lobby sign's timer when remaining time is less
than 60 seconds.
- getLobbyWaitingColor() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves the color of a lobby sign's
WAITING
status.
- getLocale() - Method in class net.amigocraft.mglib.api.Minigame
-
Returns the
Locale
for this minigame.
- getLong(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
-
- getLong(String, long) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
-
- getLongList(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
-
- getMapList(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
-
- getMaxBound() - Method in class net.amigocraft.mglib.api.Round
-
Retrieves the location representing the maximum boundary on all three
axes of the arena this round takes place in.
- getMaxPlayers() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves the default maximum number of players allowed in a
round
at one time (default: 32).
- getMaxPlayers() - Method in class net.amigocraft.mglib.api.Round
-
Retrieves the maximum number of players allowed in a round at once.
- getMessage(String) - Method in class net.amigocraft.mglib.api.Locale
-
Retrieves the message with the given key from the
current locale.
- getMessage(String, String...) - Method in class net.amigocraft.mglib.api.Locale
-
Retrieves the message with the given key from the
current locale, and replaces placeholder sequences
(%i
) with the corresponding vararg
parameter.
- getMetadata(String) - Method in class net.amigocraft.mglib.api.MGPlayer
-
- getMetadata(String) - Method in class net.amigocraft.mglib.api.Round
-
- getMetadata(String) - Method in interface net.amigocraft.mglib.misc.Metadatable
-
Retrieves a given value from this object's metadata by its key.
- getMGPlayer(String) - Method in class net.amigocraft.mglib.api.Minigame
-
Returns the
MGPlayer
associated with the given username.
- getMGPlayer(String) - Method in class net.amigocraft.mglib.api.Round
-
Returns the
MGPlayer
in this round associated with the given
username.
- getMinBound() - Method in class net.amigocraft.mglib.api.Round
-
Retrieves the location representing the minimum boundary on all three
axes of the arena this round takes place in.
- getMinigame() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves the
Minigame
associated with this config manager.
- getMinigame() - Method in class net.amigocraft.mglib.api.MGPlayer
-
Gets the MGLib API instance registered by the minigame plugin associated
with this
MGPlayer
.
- getMinigame() - Method in class net.amigocraft.mglib.api.Round
-
Gets the instance of the MGLib API registered by the plugin associated
with this
Round
.
- getMinigameInstance(String) - Static method in class net.amigocraft.mglib.api.Minigame
-
Finds the instance of the MGLib API associated with a given plugin.
- getMinigameInstance(JavaPlugin) - Static method in class net.amigocraft.mglib.api.Minigame
-
- getMinigameInstances() - Static method in class net.amigocraft.mglib.api.Minigame
-
Retrieves a
list
of all registered
minigame
instances.
- getMinPlayers() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves the default minimum number of players required to automatically
start a
round
.
- getMinPlayers() - Method in class net.amigocraft.mglib.api.Round
-
Retrieves the minimum number of players required to automatically start
the round.
- getName() - Method in class net.amigocraft.mglib.api.MGPlayer
-
- getNmsClass(String) - Static method in class net.amigocraft.mglib.util.NmsUtil
-
Retrieves a class by the given name from the package
net.minecraft.server
.
- getNumber() - Method in class net.amigocraft.mglib.api.LobbySign
-
Retrieves the number of this lobby sign.
- getOfflinePlayer(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
-
- getOfflinePlayer(String, OfflinePlayer) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
-
- getOnlinePlayers() - Static method in class net.amigocraft.mglib.util.NmsUtil
-
Version-independent getOnlinePlayers() method.
- getOnlineUUIDs() - Static method in class net.amigocraft.mglib.api.Minigame
-
Retrieves a hashmap mapping the names of online players to their
respective UUIDs.
- getOnlineUUIDs() - Static method in class net.amigocraft.mglib.Main
-
Retrieves a hashmap mapping the names of online players to their
respective UUIDs.
- getPitch() - Method in class net.amigocraft.mglib.api.Location3D
-
Retrieves the pitch of this location.
- getPlayer() - Method in class net.amigocraft.mglib.event.player.MGPlayerEvent
-
- getPlayer() - Method in class net.amigocraft.mglib.event.player.PlayerJoinMinigameRoundEvent
-
Returns the
round
involved in this event.
- getPlayer() - Method in class net.amigocraft.mglib.event.player.PlayerLeaveMinigameRoundEvent
-
Retrieves the
round
involved in this event.
- getPlayer() - Method in class net.amigocraft.mglib.event.round.LobbyClickEvent
-
Retrieves the name of the player involved in this event.
- getPlayerClass() - Method in class net.amigocraft.mglib.api.ConfigManager
-
- getPlayerCount() - Method in class net.amigocraft.mglib.api.Round
-
- getPlayerList() - Method in class net.amigocraft.mglib.api.Round
-
- getPlayers() - Method in class net.amigocraft.mglib.api.Round
-
Retrieves a HashMap
of players in this round.
- getPlayingTime() - Method in class net.amigocraft.mglib.api.Round
-
Gets the round's playing time.
- getPlugin() - Method in class net.amigocraft.mglib.api.ArenaFactory
-
Retrieves the name of the plugin associated with this
ArenaFactory
.
- getPlugin() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves the name of the plugin associated with this config manager.
- getPlugin() - Method in class net.amigocraft.mglib.api.LobbySign
-
Retrieves the plugin this lobby sign is associated with.
- getPlugin() - Method in class net.amigocraft.mglib.api.MGPlayer
-
Gets the minigame plugin associated with this
MGPlayer
.
- getPlugin() - Method in class net.amigocraft.mglib.api.Minigame
-
- getPlugin() - Method in class net.amigocraft.mglib.api.Round
-
Gets the name of the minigame plugin associated with this
Round
.
- getPlugin() - Method in class net.amigocraft.mglib.event.MGLibEvent
-
Retrieves the name of the plugin involved in this
MGLibEvent
.
- getPlugin() - Static method in class net.amigocraft.mglib.MGUtil
-
Returns the JavaPlugin
instance for MGLib.
- getPlugin() - Method in class net.amigocraft.mglib.RollbackManager
-
Retrieves the plugin associated with this rollback manager.
- getPosition() - Method in class net.amigocraft.mglib.api.Location3D
-
Returns the position of this location.
- getPrefix() - Method in class net.amigocraft.mglib.api.MGPlayer
-
Retrieves the prefix of this player (used on lobby signs).
- getPreparationTime() - Method in class net.amigocraft.mglib.api.Round
-
Gets the round's preparation time.
- getPrevGameMode() - Method in class net.amigocraft.mglib.api.MGPlayer
-
Gets the gamemode MGLib will impose upon the player upon round exit.
- getRemainingTime() - Method in class net.amigocraft.mglib.api.Round
-
Gets the time remaining in this round.
- getResult() - Method in class net.amigocraft.mglib.event.round.LobbyClickEvent
-
Retrieves the result of the event.
- getRollbackManager() - Method in class net.amigocraft.mglib.api.Minigame
-
Retrieves this minigame's rollback manager.
- getRollbackManager() - Method in class net.amigocraft.mglib.api.Round
-
- getRotation() - Method in class net.amigocraft.mglib.api.Location3D
-
Returns the rotation of this location.
- getRound() - Method in class net.amigocraft.mglib.api.MGPlayer
-
Gets the
Round
associated with this player.
- getRound(String) - Method in class net.amigocraft.mglib.api.Minigame
-
Retrieves the instance of the round associated with the given arena.
- getRound() - Method in class net.amigocraft.mglib.event.player.MGPlayerSpectateEvent
-
Returns the
round
involved in this event.
- getRound() - Method in class net.amigocraft.mglib.event.round.MGRoundEvent
-
Retrieves the
Round
associated with this event.
- getRoundClass() - Method in class net.amigocraft.mglib.api.ConfigManager
-
- getRoundList() - Method in class net.amigocraft.mglib.api.Minigame
-
Retrieves a list containing all rounds associated with the instance which
registered this API instance.
- getRounds() - Method in class net.amigocraft.mglib.api.Minigame
-
Retrieves a hashmap containing all rounds associated with the instance
which registered this API instance.
- getShortList(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
-
- getSign(Location3D) - Method in class net.amigocraft.mglib.LobbyManager
-
Retrieves the lobby sign at the specified location, or null if it does
not exist.
- getSignId() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves the associated plugin
lobby sign
identifier,
used to recognize lobby signs.
- getSignList() - Method in class net.amigocraft.mglib.LobbyManager
-
Retrieves a list of lobby signs registered with this lobby manager.
- getSigns() - Method in class net.amigocraft.mglib.LobbyManager
-
Retrieves a hashmap mapping locations to lobby signs registered with this
lobby manager.
- getSpawns() - Method in class net.amigocraft.mglib.api.Round
-
Retrieves a list of possible spawns for this round's arena.
- getSpectateOnJoin() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves whether players will be set to spectator mode upon joining
around in progress.
- getSpectatingPlayerCount() - Method in class net.amigocraft.mglib.api.Round
-
- getSpectatingPlayerList() - Method in class net.amigocraft.mglib.api.Round
-
- getStage() - Method in class net.amigocraft.mglib.api.Round
-
- getStageAfter() - Method in class net.amigocraft.mglib.event.round.MinigameRoundStageChangeEvent
-
Gets the stage of the round after the event.
- getStageBefore() - Method in class net.amigocraft.mglib.event.round.MinigameRoundStageChangeEvent
-
Gets the stage of the round before the event.
- getString(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
-
- getString(String, String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
-
- getStringList(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
-
- getTeam() - Method in class net.amigocraft.mglib.api.MGPlayer
-
Retrieves the name of the team this player is on, or null if they are not
on a team.
- getTeam(String) - Method in class net.amigocraft.mglib.api.Round
-
Retrieves a HashMap
of all players on a given team.
- getTime() - Method in class net.amigocraft.mglib.api.Round
-
Gets the current time in seconds of this
Round
, where 0
represents the first second of it.
- getTimeBefore() - Method in class net.amigocraft.mglib.event.round.MinigameRoundTickEvent
-
Returns the round time before the tick.
- getTimerHandle() - Method in class net.amigocraft.mglib.api.Round
-
Gets the round's timer's task's handle, or -1 if a timer is not started.
- getType() - Method in class net.amigocraft.mglib.api.LobbySign
-
Retrieves the
type
of this lobby sign.
- getUUIDOf(String) - Static method in class net.amigocraft.mglib.UUIDFetcher
-
- getVector(String) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
-
- getVector(String, Vector) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
-
- getWorld() - Method in class net.amigocraft.mglib.api.ArenaFactory
-
Retrieves the name of the world associated with this
ArenaFactory
's arena.
- getWorld() - Method in class net.amigocraft.mglib.api.LobbySign
-
Retrieves the name of the world containing this physical lobby sign.
- getWorld() - Method in class net.amigocraft.mglib.api.Location2D
-
Retrieves the name of the world of this location.
- getWorld() - Method in class net.amigocraft.mglib.api.Location3D
-
Retrieves the name of the world of this location.
- getWorld() - Method in class net.amigocraft.mglib.api.Round
-
Retrieves the world of this arena.
- getWorlds(String) - Static method in class net.amigocraft.mglib.Main
-
Retrieves worlds registered with MGLib's event listener for the given
plugin.
- getX() - Method in class net.amigocraft.mglib.api.LobbySign
-
Retrieves the physical x-coordinate of this lobby sign.
- getX() - Method in class net.amigocraft.mglib.api.Location2D
-
Retrieves the x-coordinate of this location.
- getX() - Method in class net.amigocraft.mglib.api.Location3D
-
Retrieves the x-coordinate of this location.
- getX() - Method in class net.amigocraft.mglib.util.vector.Vector2f
-
Gets the x-coordinate of this vector.
- getX() - Method in class net.amigocraft.mglib.util.vector.Vector3f
-
Gets the x-coordinate of this vector.
- getY() - Method in class net.amigocraft.mglib.api.LobbySign
-
Retrieves the physical y-coordinate of this lobby sign.
- getY() - Method in class net.amigocraft.mglib.api.Location2D
-
Retrieves the y-coordinate of this location.
- getY() - Method in class net.amigocraft.mglib.api.Location3D
-
Retrieves the y-coordinate of this location.
- getY() - Method in class net.amigocraft.mglib.util.vector.Vector2f
-
Gets the y-coordinate of this vector.
- getY() - Method in class net.amigocraft.mglib.util.vector.Vector3f
-
Gets the y-coordinate of this vector.
- getYaw() - Method in class net.amigocraft.mglib.api.Location3D
-
Retrieves the yaw of this location.
- getZ() - Method in class net.amigocraft.mglib.api.LobbySign
-
Retrieves the physical z-coordinate of this lobby sign.
- getZ() - Method in class net.amigocraft.mglib.api.Location3D
-
Retrieves the z-coordinate of this location.
- getZ() - Method in class net.amigocraft.mglib.util.vector.Vector3f
-
Gets the z-coordinate of this vector.
- IMMEDIATE_LOGGING - Static variable in class net.amigocraft.mglib.Main
-
Whether block changes should be logged immediately.
- info(String) - Method in class net.amigocraft.mglib.api.Minigame
-
- initialize() - Method in class net.amigocraft.mglib.api.Locale
-
Initializes the locale manager.
- InvalidLocationException - Exception in net.amigocraft.mglib.exception
-
Thrown when a location provided as a parameter is not valid.
- InvalidLocationException() - Constructor for exception net.amigocraft.mglib.exception.InvalidLocationException
-
- isBlockBreakAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves whether block breaking is permitted for players in a
round
.
- isBlockBurnAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves whether block burning is permitted in worlds containing one or
more arenas.
- isBlockFadeAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves whether block fading (e.g.
- isBlockFlowAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves whether block flowing is permitted in worlds containing one or
more arenas.
- isBlockGrowAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves whether block growing (e.g.
- isBlockIgniteAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves whether block ignition is permitted in worlds containing one or
more arenas.
- isBlockPhysicsAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
-
- isBlockPistonAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves whether pistons are permitted in worlds containing one or more
arenas.
- isBlockPlaceAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves whether block placing is permitted for players in a
round
.
- isBlockSpreadAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves whether block spreading (e.g.
- isCancelled() - Method in class net.amigocraft.mglib.event.player.MGPlayerSpectateEvent
-
- isCancelled() - Method in class net.amigocraft.mglib.event.player.PlayerJoinMinigameRoundEvent
-
- isCancelled() - Method in class net.amigocraft.mglib.event.player.PlayerLeaveMinigameRoundEvent
-
- isCancelled() - Method in class net.amigocraft.mglib.event.round.MinigameRoundEndEvent
-
- isCancelled() - Method in class net.amigocraft.mglib.event.round.MinigameRoundPrepareEvent
-
- isCancelled() - Method in class net.amigocraft.mglib.event.round.MinigameRoundStageChangeEvent
-
- isCancelled() - Method in class net.amigocraft.mglib.event.round.MinigameRoundStartEvent
-
- isDamageAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves whether players in rounds may receive damage.
- isDamageAllowed() - Method in class net.amigocraft.mglib.api.Round
-
Retrieves whether players in rounds may receive damage.
- isDisabling() - Static method in class net.amigocraft.mglib.Main
-
Determines whether MGLib is in the process of disabling.
- isEntityExplosionsAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
-
- isEntityTargetingEnabled() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves whether entities are permitted to target players in arenas.
- isFrozen() - Method in class net.amigocraft.mglib.api.MGPlayer
-
Retrieves whether the player is frozen.
- isHangingBreakAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves whether hanging entity (e.g.
- isHungerEnabled() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves whether hunger should drain from players in rounds.
- isInteger(String) - Static method in class net.amigocraft.mglib.MGUtil
-
Determines whether the provided string can be parsed to an integer.
- isItemFrameDamageAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves whether players in a minigame may remove the item from an item
frame by clicking on it.
- isLegacy() - Method in class net.amigocraft.mglib.api.Locale
-
Returns whether this object was loaded from a legacy
locale file.
- isMGLibCompatible(String) - Static method in class net.amigocraft.mglib.api.Minigame
-
Determines whether this version of MGLib is compatibile with the
specified minimum required version.
- isMobSpawningAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves whether mob spawning is permitted in worlds containing an
arena.
- isNewArena() - Method in class net.amigocraft.mglib.api.ArenaFactory
-
Determines whether this arena is newly created.
- isNewInstance() - Method in class net.amigocraft.mglib.api.ArenaFactory
-
Determines whether this instance is newly created for the server session.
- isOverrideDeathEvent() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves whether Bukkit's PlayerDeathEvent
will be overridden
for players participating in minigame rounds.
- isPerRoundChatEnabled() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves whether chat should be handled on a per-round basis (e.g.
- isPlayer(String) - Method in class net.amigocraft.mglib.api.Minigame
-
Convenience method for checking if an
MGPlayer
is associated with
the given username.
- isPvPAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves whether PvP is allowed by default.
- isPvPAllowed() - Method in class net.amigocraft.mglib.api.Round
-
Retrieves whether PvP is allowed.
- isRandomSpawning() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves whether players are sent to a random spawn when entered into an
arena.
- isRollbackEnabled() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves whether rollback is enabled by default.
- isRollbackEnabled() - Method in class net.amigocraft.mglib.api.Round
-
Retrieves whether rollback is enabled in this round.
- isSpectating() - Method in class net.amigocraft.mglib.api.MGPlayer
-
Gets whether this player is spectating their round, as opposed to
participating in it.
- isSpectatorChatSeparate() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves whether spectators are placed in a separate chat channel from
active players.
- isSpectatorFlightAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves whether spectators are permitted to fly.
- isStageChange() - Method in class net.amigocraft.mglib.event.round.MinigameRoundTickEvent
-
Returns whether the tick resulted in a stage change for the round (e.g.
- isTeamChatEnabled() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves whether teams in a round should have separate chat channels.
- isTeamDamageAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves whether players are permitted to damage teammates.
- isTeleportationAllowed() - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves whether teleportation (via ender pearl, command, or another
plugin) is permitted for players in a
round
.
- isTicking() - Method in class net.amigocraft.mglib.api.Round
-
Returns whether this round's timer is currently ticking.
- isUsingVanillaSpectating() - Method in class net.amigocraft.mglib.api.ConfigManager
-
- isVanillaSpectatingDisabled() - Static method in class net.amigocraft.mglib.Main
-
Retrieves whether vanilla spectating has been globally disabled by
MGLib's config.yml file.
- save() - Method in class net.amigocraft.mglib.api.LobbySign
-
Saves this lobby sign's data to disk.
- save(LobbySign) - Method in class net.amigocraft.mglib.LobbyManager
-
Saves a lobby sign's data to disk.
- saveArenaYaml(String, YamlConfiguration) - Static method in class net.amigocraft.mglib.MGUtil
-
Saves the given plugin's arenas.yml file.
- sendRespawnPacket(Player) - Static method in class net.amigocraft.mglib.util.NmsUtil
-
Sends a PlayInClientCommand packet to the given player.
- set(String, Object) - Method in class net.amigocraft.mglib.api.MGYamlConfiguration
-
- setAllowJoinRoundInProgress(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
-
- setAllowJoinRoundWhilePreparing(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
-
- setArena(String) - Method in class net.amigocraft.mglib.api.LobbySign
-
Sets the arena associated with this lobby sign.
- setArena(String) - Method in class net.amigocraft.mglib.api.MGPlayer
-
- setArena(String) - Method in class net.amigocraft.mglib.api.Round
-
Sets the associated arena of this
Round
.
- setBlockBreakAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets whether block breaking is permitted for players in a
round
.
- setBlockBurnAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets whether block burning is permitted in worlds containing one or more
arenas.
- setBlockBurningAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
-
- setBlockFadeAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets whether block fading (e.g.
- setBlockFlowAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets whether block flowing is permitted in worlds containing one or more
arenas.
- setBlockGrowAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets whether block growing (e.g.
- setBlockIgniteAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets whether block ignition is permitted in worlds containing one or more
arenas.
- setBlockPhyiscsAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
-
- setBlockPhysicsAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets whether block physics are permitted in worlds containing one or more
arenas.
- setBlockPistonAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets whether pistons are permitted in worlds containing one or more
arenas.
- setBlockPlaceAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets whether block placing is permitted for players in a
round
.
- setBlockSpreadAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets whether block spreading (e.g.
- setCancelled(boolean) - Method in class net.amigocraft.mglib.event.player.MGPlayerSpectateEvent
-
- setCancelled(boolean) - Method in class net.amigocraft.mglib.event.player.PlayerJoinMinigameRoundEvent
-
- setCancelled(boolean) - Method in class net.amigocraft.mglib.event.player.PlayerLeaveMinigameRoundEvent
-
- setCancelled(boolean) - Method in class net.amigocraft.mglib.event.round.MinigameRoundEndEvent
-
- setCancelled(boolean) - Method in class net.amigocraft.mglib.event.round.MinigameRoundPrepareEvent
-
- setCancelled(boolean) - Method in class net.amigocraft.mglib.event.round.MinigameRoundStageChangeEvent
-
- setCancelled(boolean) - Method in class net.amigocraft.mglib.event.round.MinigameRoundStartEvent
-
- setDamageAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets whether players in rounds may receive damage by default.
- setDamageAllowed(boolean) - Method in class net.amigocraft.mglib.api.Round
-
Sets whether players in rounds may receive damage.
- setData(String, Object) - Method in class net.amigocraft.mglib.api.ArenaFactory
-
Attaches an arbitrary key-value pair to the arena.
- setDefaultExitLocation(Location3D) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets this default exit location for players upon a
round
ending (default: the spawn point of the main world).
- setDefaultExitLocation(Location) - Method in class net.amigocraft.mglib.api.ConfigManager
-
- setDefaultGameMode(GameMode) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets the default
gamemode
for players entering minigame
rounds.
- setDefaultLocale(String) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets the locale to fall back to if the one defined in the MGLib config
cannot be loaded.
- setDefaultPlayingTime(int) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets the default time allotted to a round's
playing
period (default: 300).
- setDefaultPreparationTime(int) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets the default time allotted to a round's
preparation
period (default: 90).
- setEntityExplosionsAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets whether entity explosions are permitted in worlds containing one or
more arenas.
- setEntityTargetingEnabled(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets whether entities are permitted to target players in arenas.
- setExitLocation(Location3D) - Method in class net.amigocraft.mglib.api.Round
-
Sets this round's exit location.
- setExitLocation(Location) - Method in class net.amigocraft.mglib.api.Round
-
- setFrozen(boolean) - Method in class net.amigocraft.mglib.api.MGPlayer
-
Cleanly freezes or unfreezes the player.
- setHangingBreakAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets whether hanging entity (e.g.
- setHungerEnabled(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Retrieves whether hunger should drain from players in rounds.
- setIndex(int) - Method in class net.amigocraft.mglib.api.LobbySign
-
Sets the internal index of this lobby sign.
- setItemFrameDamageAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets whether players in a minigame may remove the item from an item frame
by clicking on it.
- setKitsAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets whether players are permitted to use the /kit command while
partaking in a minigame.
- setLobbyArenaColor(Color) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets the color of the top line (the arena name) of a lobby sign.
- setLobbyArenaColor(ChatColor) - Method in class net.amigocraft.mglib.api.ConfigManager
-
- setLobbyColor(String, Color) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets a specific color attribute for lobby signs associated with this
manager's plugin.
- setLobbyColor(String, ChatColor) - Method in class net.amigocraft.mglib.api.ConfigManager
-
- setLobbyPlayerCountColor(Color) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets the color of a lobby sign's player count when the round is not
full.
- setLobbyPlayerCountColor(ChatColor) - Method in class net.amigocraft.mglib.api.ConfigManager
-
- setLobbyPlayerCountFullColor(Color) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets the color of a lobby sign's player count when the round is full.
- setLobbyPlayerCountFullColor(ChatColor) - Method in class net.amigocraft.mglib.api.ConfigManager
-
- setLobbyPlayingColor(Color) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets the color of a lobby sign's
PLAYING
status.
- setLobbyPlayingColor(ChatColor) - Method in class net.amigocraft.mglib.api.ConfigManager
-
- setLobbyPreparingColor(Color) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets the color of a lobby sign's
PREPARING
status.
- setLobbyPreparingColor(ChatColor) - Method in class net.amigocraft.mglib.api.ConfigManager
-
- setLobbyResettingColor(Color) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets the color of a lobby sign's
RESETTING
status.
- setLobbyResettingColor(ChatColor) - Method in class net.amigocraft.mglib.api.ConfigManager
-
- setLobbyTimeColor(Color) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets the color of a lobby sign's timer when remaining time is greater
than 60 seconds.
- setLobbyTimeColor(ChatColor) - Method in class net.amigocraft.mglib.api.ConfigManager
-
- setLobbyTimeInfiniteColor(Color) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets the color of a lobby sign's timer when remaining time is infinite.
- setLobbyTimeInfiniteColor(ChatColor) - Method in class net.amigocraft.mglib.api.ConfigManager
-
- setLobbyTimeWarningColor(Color) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets the color of a lobby sign's timer when remaining time is less than
60 seconds.
- setLobbyTimeWarningColor(ChatColor) - Method in class net.amigocraft.mglib.api.ConfigManager
-
- setLobbyWaitingColor(Color) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets the color of a lobby sign's
WAITING
status.
- setLobbyWaitingColor(ChatColor) - Method in class net.amigocraft.mglib.api.ConfigManager
-
- setMaxBound(double, double, double) - Method in class net.amigocraft.mglib.api.ArenaFactory
-
Sets the maximum boundary of this arena.
- setMaxBound(Location3D) - Method in class net.amigocraft.mglib.api.ArenaFactory
-
Sets the maximum boundary of this arena.
- setMaxBound(Location) - Method in class net.amigocraft.mglib.api.ArenaFactory
-
- setMaxBound(double, double, double) - Method in class net.amigocraft.mglib.api.Round
-
Sets the maximum boundary on all three axes of this round object.
- setMaxPlayers(int) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets the default maximum number of players allowed in a
round
at one time (default: 32).
- setMaxPlayers(int) - Method in class net.amigocraft.mglib.api.Round
-
Sets the maximum number of players allowed in a round at once.
- setMetadata(String, Object) - Method in class net.amigocraft.mglib.api.MGPlayer
-
- setMetadata(String, Object) - Method in class net.amigocraft.mglib.api.Round
-
- setMetadata(String, Object) - Method in interface net.amigocraft.mglib.misc.Metadatable
-
Adds a key-value pair to this object's metadata.
- setMinBound(double, double, double) - Method in class net.amigocraft.mglib.api.ArenaFactory
-
Sets the minimum boundary of this arena.
- setMinBound(Location3D) - Method in class net.amigocraft.mglib.api.ArenaFactory
-
Sets the minimum boundary of this arena.
- setMinBound(Location) - Method in class net.amigocraft.mglib.api.ArenaFactory
-
- setMinBound(double, double, double) - Method in class net.amigocraft.mglib.api.Round
-
Sets the minimum boundary on all three axes of this round object.
- setMinPlayers(int) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets the default minimum number of players required to automatically
start a
round
.
- setMinPlayers(int) - Method in class net.amigocraft.mglib.api.Round
-
Sets the minimum number of players required to automatically start the
round.
- setMobSpawningAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets whether mob spawning is permitted in worlds containing an arena.
- setNumber(int) - Method in class net.amigocraft.mglib.api.LobbySign
-
Sets the number of this lobby sign.
- setOverrideDeathEvent(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets whether Bukkit's PlayerDeathEvent
will be overridden for
players participating in minigame rounds.
- setPerRoundChatEnabled(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets whether chat should be handled on a per-round basis (e.g.
- setPitch(float) - Method in class net.amigocraft.mglib.api.Location3D
-
Sets the pitch of this location.
- setPitch(double) - Method in class net.amigocraft.mglib.api.Location3D
-
Sets the pitch of this location.
- setPitch(int) - Method in class net.amigocraft.mglib.api.Location3D
-
Sets the pitch of this location.
- setPlayerClass(Class<? extends MGPlayer>) - Method in class net.amigocraft.mglib.api.ConfigManager
-
- setPlayingTime(int) - Method in class net.amigocraft.mglib.api.Round
-
Sets the round's playing time.
- setPMsAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets whether players partaking in a minigame are permitted to send
private messages or use the /pm command.
- setPosition(Vector3f) - Method in class net.amigocraft.mglib.api.Location3D
-
Sets the position of this location.
- setPrefix(String) - Method in class net.amigocraft.mglib.api.MGPlayer
-
Sets the prefix of this player (used on lobby signs).
- setPreparationTime(int) - Method in class net.amigocraft.mglib.api.Round
-
Sets the round's preparation time.
- setPrevGameMode(GameMode) - Method in class net.amigocraft.mglib.api.MGPlayer
-
Sets the gamemode MGLib will impose upon the player upon round exit.
- setPrevGameMode(GameMode) - Method in class net.amigocraft.mglib.api.MGPlayer
-
- setPvPAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets whether PvP is allowed by default.
- setPvPAllowed(boolean) - Method in class net.amigocraft.mglib.api.Round
-
Sets whether PvP is allowed.
- setRandomSpawning(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets whether players are sent to a random spawn when entered into an
arena.
- setRollbackEnabled(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets whether rollback is enabled by default.
- setRollbackEnabled(boolean) - Method in class net.amigocraft.mglib.api.Round
-
Sets whether rollback is enabled by default.
- setRotation(Vector2f) - Method in class net.amigocraft.mglib.api.Location3D
-
Sets the rotation of this location.
- setRoundClass(Class<? extends Round>) - Method in class net.amigocraft.mglib.api.ConfigManager
-
- setSignId(String) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets the associated plugin
lobby sign
identifier, used
to recognize lobby signs.
- setSpectateOnJoin(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets whether players will be set to spectator mode upon joining around in
progress.
- setSpectating(boolean) - Method in class net.amigocraft.mglib.api.MGPlayer
-
Sets whether this player is spectating or not.
- setSpectatorChatSeparate(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets whether spectators are placed in a separate chat channel from active
players.
- setSpectatorFlightAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets whether spectators are permitted to fly.
- setSpectatorsInTabList(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets whether spectators should be displayed on the tab list.
- setSpectatorsOnLobbySigns(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets whether spectators' names are displayed on lobby signs.
- setStage(Stage, boolean) - Method in class net.amigocraft.mglib.api.Round
-
Sets the current stage of this
Round
.
- setStage(Stage) - Method in class net.amigocraft.mglib.api.Round
-
Sets the current stage of this
Round
.
- setTeam(String) - Method in class net.amigocraft.mglib.api.MGPlayer
-
Sets the name of the team this player is on.
- setTeamChatEnabled(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets whether teams in a round should have separate chat channels.
- setTeamDamageAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets whether players are permitted to damage teammates.
- setTeleportationAllowed(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
-
Sets whether teleportation (via ender pearl, command, or another plugin)
is permitted for players in a
round
.
- setTime(int) - Method in class net.amigocraft.mglib.api.Round
-
Sets the remaining time of this
Round
.
- setType(LobbyType) - Method in class net.amigocraft.mglib.api.LobbySign
-
Sets the
type
of this lobby sign.
- setUsingVanillaSpectating(boolean) - Method in class net.amigocraft.mglib.api.ConfigManager
-
- setWorld(String) - Method in class net.amigocraft.mglib.api.LobbySign
-
Sets the name of the world containing this physical lobby sign.
- setWorld(String) - Method in class net.amigocraft.mglib.api.Location2D
-
Sets the name of the world of this location.
- setWorld(String) - Method in class net.amigocraft.mglib.api.Location3D
-
Sets the name of the world of this location.
- setX(int) - Method in class net.amigocraft.mglib.api.LobbySign
-
Sets the physical x-coordinate of this lobby sign.
- setX(float) - Method in class net.amigocraft.mglib.api.Location2D
-
Sets the x-coordinate of this location.
- setX(double) - Method in class net.amigocraft.mglib.api.Location2D
-
Sets the x-coordinate of this location.
- setX(int) - Method in class net.amigocraft.mglib.api.Location2D
-
Sets the x-coordinate of this location.
- setX(float) - Method in class net.amigocraft.mglib.api.Location3D
-
Sets the x-coordinate of this location.
- setX(double) - Method in class net.amigocraft.mglib.api.Location3D
-
Sets the x-coordinate of this location.
- setX(int) - Method in class net.amigocraft.mglib.api.Location3D
-
Sets the x-coordinate of this location.
- setX(float) - Method in class net.amigocraft.mglib.util.vector.Vector2f
-
Sets the x-coordinate of this vector.
- setX(float) - Method in class net.amigocraft.mglib.util.vector.Vector3f
-
Sets the x-coordinate of this vector.
- setY(int) - Method in class net.amigocraft.mglib.api.LobbySign
-
Sets the physical y-coordinate of this lobby sign.
- setY(float) - Method in class net.amigocraft.mglib.api.Location2D
-
Sets the y-coordinate of this location.
- setY(double) - Method in class net.amigocraft.mglib.api.Location2D
-
Sets the y-coordinate of this location.
- setY(int) - Method in class net.amigocraft.mglib.api.Location2D
-
Sets the y-coordinate of this location.
- setY(float) - Method in class net.amigocraft.mglib.api.Location3D
-
Sets the y-coordinate of this location.
- setY(double) - Method in class net.amigocraft.mglib.api.Location3D
-
Sets the y-coordinate of this location.
- setY(int) - Method in class net.amigocraft.mglib.api.Location3D
-
Sets the y-coordinate of this location.
- setY(float) - Method in class net.amigocraft.mglib.util.vector.Vector2f
-
Sets the y-coordinate of this vector.
- setY(float) - Method in class net.amigocraft.mglib.util.vector.Vector3f
-
Sets the y-coordinate of this vector.
- setYaw(float) - Method in class net.amigocraft.mglib.api.Location3D
-
Sets the yaw of this location.
- setYaw(double) - Method in class net.amigocraft.mglib.api.Location3D
-
Sets the yaw of this location.
- setYaw(int) - Method in class net.amigocraft.mglib.api.Location3D
-
Sets the yaw of this location.
- setZ(int) - Method in class net.amigocraft.mglib.api.LobbySign
-
Sets the physical z-coordinate of this lobby sign.
- setZ(float) - Method in class net.amigocraft.mglib.api.Location3D
-
Sets the z-coordinate of this location.
- setZ(double) - Method in class net.amigocraft.mglib.api.Location3D
-
Sets the z-coordinate of this location.
- setZ(int) - Method in class net.amigocraft.mglib.api.Location3D
-
Sets the z-coordinate of this location.
- setZ(float) - Method in class net.amigocraft.mglib.util.vector.Vector3f
-
Sets the z-coordinate of this vector.
- severe(String) - Method in class net.amigocraft.mglib.api.Minigame
-
- spawnIn(int) - Method in class net.amigocraft.mglib.api.MGPlayer
-
Respawns the player at the given spawn.
- spawnIn() - Method in class net.amigocraft.mglib.api.MGPlayer
-
Respawns the player at a random or sequential spawn, depending on your
configuration.
- SPECTATOR_SUPPORT - Static variable in class net.amigocraft.mglib.util.NmsUtil
-
- Stage - Enum in net.amigocraft.mglib.api
-
Enum containing possible stages of a
Round
object.
- start() - Method in class net.amigocraft.mglib.api.Round
-
Begins the round and starts its timer.
- subtractTime(int) - Method in class net.amigocraft.mglib.api.Round
-
Subtracts t
seconds from the elapsed time in the round.
- valueOf(String) - Static method in enum net.amigocraft.mglib.api.Color
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.amigocraft.mglib.api.GameMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.amigocraft.mglib.api.LobbyType
-
Returns the enum constant of this type with the specified name.
- valueOf(Location) - Static method in class net.amigocraft.mglib.api.Location3D
-
- valueOf(Location, boolean) - Static method in class net.amigocraft.mglib.api.Location3D
-
- valueOf(String) - Static method in enum net.amigocraft.mglib.api.LogLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.amigocraft.mglib.api.Stage
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.amigocraft.mglib.misc.JoinResult
-
Returns the enum constant of this type with the specified name.
- valueOfXY(Location) - Static method in class net.amigocraft.mglib.api.Location2D
-
Creates a Location2D from the x- and y-coordinates of the given Bukkit location
.
- valueOfXZ(Location) - Static method in class net.amigocraft.mglib.api.Location2D
-
Creates a Location2D from the x- and z-coordinates of the given Bukkit location
.
- valueOfYZ(Location) - Static method in class net.amigocraft.mglib.api.Location2D
-
Creates a Location2D from the y- and z-coordinates of the given Bukkit location
.
- values() - Static method in enum net.amigocraft.mglib.api.Color
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.amigocraft.mglib.api.GameMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.amigocraft.mglib.api.LobbyType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.amigocraft.mglib.api.LogLevel
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.amigocraft.mglib.api.Stage
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.amigocraft.mglib.misc.JoinResult
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- Vector2f - Class in net.amigocraft.mglib.util.vector
-
Represents a two-dimensional point.
- Vector2f(float, float) - Constructor for class net.amigocraft.mglib.util.vector.Vector2f
-
Creates a new Vector2f.
- Vector3f - Class in net.amigocraft.mglib.util.vector
-
Represents a three-dimensional point.
- Vector3f(float, float, float) - Constructor for class net.amigocraft.mglib.util.vector.Vector3f
-
Creates a new Vector3f.
- verbose(String) - Method in class net.amigocraft.mglib.api.Minigame
-
- verifyDisablingStatus() - Static method in class net.amigocraft.mglib.MGUtil
-
Throws an UnsupportedOperationException
if MGLib is not
disabling.