Index

A C D E G H I L M O P R S T W 
All Classes and Interfaces|All Packages

A

Add(Team, String) - Constructor for class dev.scsupercraft.teamstages.event.TeamStageEvent.Add
Creates a new add team stage event.
Added(Team, String) - Constructor for class dev.scsupercraft.teamstages.event.TeamStageEvent.Added
Creates a new added team stage event.
addStage(String) - Method in class dev.scsupercraft.teamstages.data.EmptyStageData
 
addStage(Team, String...) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.TeamHelper
Attempts to give a team a stage.
addStage(String, GameStageEffect) - Method in interface dev.scsupercraft.teamstages.data.IGameStageData
Adds a stage to the unlocked stages collection matching the provided effect.
addStage(ServerPlayer, String...) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.PlayerHelper
Attempts to give a player a stage.
addStage(ServerPlayer, String...) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.TeamHelper
Attempts to give a player's team a stage.

C

Check(Team, String, boolean) - Constructor for class dev.scsupercraft.teamstages.event.TeamStageEvent.Check
Creates a new check team stage event.
clear() - Method in class dev.scsupercraft.teamstages.data.EmptyStageData
 
clear(GameStageEffect) - Method in interface dev.scsupercraft.teamstages.data.IGameStageData
Clears all of the unlocked stages matching the provided effect.
Cleared(Team, IStageData) - Constructor for class dev.scsupercraft.teamstages.event.TeamStageEvent.Cleared
Creates a new cleared team stages event.
clearStages(Team) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.TeamHelper
Removes all stages from a team.
clearStages(ServerPlayer) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.PlayerHelper
Removes all stages from a player.
clearStages(ServerPlayer) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.TeamHelper
Removes all stages from a player's team.

D

dev.scsupercraft.teamstages.data - package dev.scsupercraft.teamstages.data
 
dev.scsupercraft.teamstages.event - package dev.scsupercraft.teamstages.event
 

E

EmptyStageData - Class in dev.scsupercraft.teamstages.data
An implementation of IStageData that doesn't hold any stages.
EmptyStageData() - Constructor for class dev.scsupercraft.teamstages.data.EmptyStageData
 

G

getClientPlayerData() - Static method in class dev.scsupercraft.teamstages.data.TeamStageSaveHandler
Gets the player stage data of the current player that has been synced to the client.
getClientTeamData() - Static method in class dev.scsupercraft.teamstages.data.TeamStageSaveHandler
Gets the team stage data of the current player that has been synced to the client.
getGameDataForPlayer(UUID) - Static method in class dev.scsupercraft.teamstages.data.TeamStageSaveHandler
Gets the game stage data for the player with the provided UUID.
getKnownStages() - Static method in class dev.scsupercraft.teamstages.data.TeamStageHelper
Gets an immutable set of all the stages defined in the known stages json file.
getPlayerData() - Method in class dev.scsupercraft.teamstages.event.TeamStagesSyncedEvent
Returns the synced player data.
getPlayerData(UUID) - Static method in class dev.scsupercraft.teamstages.data.TeamStageSaveHandler
Gets the player stage data for the player with the provided UUID.
getPlayerData(Player) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.PlayerHelper
Attempts to resolve the player stage data for a player.
getStageData() - Method in class dev.scsupercraft.teamstages.event.TeamStageEvent.Cleared
Gets the stage data that was cleared.
getStageName() - Method in class dev.scsupercraft.teamstages.event.TeamStageEvent
Gets the stage name for the event.
getStages() - Method in class dev.scsupercraft.teamstages.data.EmptyStageData
 
getStages(GameStageEffect) - Method in interface dev.scsupercraft.teamstages.data.IGameStageData
Gets a collection of all unlocked stages matching the provided effect.
getTeam() - Method in class dev.scsupercraft.teamstages.event.TeamStageEvent.Cleared
Gets the team the event is for.
getTeam() - Method in class dev.scsupercraft.teamstages.event.TeamStageEvent
Gets the team the event is for.
getTeamData() - Method in class dev.scsupercraft.teamstages.event.TeamStagesSyncedEvent
Returns the synced team data.
getTeamData(Team) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.TeamHelper
Attempts to resolve the stage data for a team.
getTeamData(UUID) - Static method in class dev.scsupercraft.teamstages.data.TeamStageSaveHandler
Gets the stage data for the team with the provided UUID.
getTeamData(Player) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.TeamHelper
Attempts to resolve the team stage data for a player.
getTeamDataForPlayer(UUID) - Static method in class dev.scsupercraft.teamstages.data.TeamStageSaveHandler
Gets the team stage data for the player with the provided UUID.

H

hadStageOriginally() - Method in class dev.scsupercraft.teamstages.event.TeamStageEvent.Check
Checks if the team originally had the stage.
hasAllOf(Team, String...) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.TeamHelper
Checks if the team has all of the stages.
hasAllOf(Team, Collection<String>) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.TeamHelper
Checks if the team has all of the stages.
hasAllOf(Team, IStageData, String...) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.TeamHelper
Checks if the team has all of the stages.
hasAllOf(Team, IStageData, Collection<String>) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.TeamHelper
Checks if the team has all of the stages.
hasAllOf(Player, String...) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.PlayerHelper
Checks if the player has all of the stages.
hasAllOf(Player, String...) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.TeamHelper
Checks if the player's team has all of the stages.
hasAllOf(Player, Collection<String>) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.PlayerHelper
Checks if the player has all of the stages.
hasAllOf(Player, Collection<String>) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.TeamHelper
Checks if the player's team has all of the stages.
hasAllOf(Player, IStageData, String...) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.PlayerHelper
Checks if the player has all of the stages.
hasAllOf(Player, IStageData, String...) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.TeamHelper
Checks if the player's team has all of the stages.
hasAllOf(Player, IStageData, Collection<String>) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.PlayerHelper
Checks if the player has all of the stages.
hasAllOf(Player, IStageData, Collection<String>) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.TeamHelper
Checks if the player's team has all of the stages.
hasAnyOf(Team, String...) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.TeamHelper
Checks if the team has at least one of many possible stages.
hasAnyOf(Team, Collection<String>) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.TeamHelper
Checks if the team has at least one of many possible stages.
hasAnyOf(Team, IStageData, String...) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.TeamHelper
Checks if the team has at least one of many possible stages.
hasAnyOf(Team, IStageData, Collection<String>) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.TeamHelper
Checks if the team has at least one of many possible stages.
hasAnyOf(Player, String...) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.PlayerHelper
Checks if the player has at least one of many possible stages.
hasAnyOf(Player, String...) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.TeamHelper
Checks if the player's team has at least one of many possible stages.
hasAnyOf(Player, Collection<String>) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.PlayerHelper
Checks if the player has at least one of many possible stages.
hasAnyOf(Player, Collection<String>) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.TeamHelper
Checks if the player's team has at least one of many possible stages.
hasAnyOf(Player, IStageData, String...) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.PlayerHelper
Checks if the player has at least one of many possible stages.
hasAnyOf(Player, IStageData, String...) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.TeamHelper
Checks if the player's team has at least one of many possible stages.
hasAnyOf(Player, IStageData, Collection<String>) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.PlayerHelper
Checks if the player has at least one of many possible stages.
hasAnyOf(Player, IStageData, Collection<String>) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.TeamHelper
Checks if the player's team has at least one of many possible stages.
hasStage() - Method in class dev.scsupercraft.teamstages.event.TeamStageEvent.Check
Checks if the team has the stage according to the event.
hasStage(String) - Method in class dev.scsupercraft.teamstages.data.EmptyStageData
 
hasStage(Team, String) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.TeamHelper
Checks if a team has a stage.
hasStage(Team, IStageData, String) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.TeamHelper
Checks if a team has a stage.
hasStage(String, GameStageEffect) - Method in interface dev.scsupercraft.teamstages.data.IGameStageData
Checks if a stage is unlocked matching the provided effect.
hasStage(Player, String) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.PlayerHelper
Checks if a player has a stage.
hasStage(Player, String) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.TeamHelper
Checks if a player's team has a stage.
hasStage(Player, IStageData, String) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.PlayerHelper
Checks if a player has a stage.
hasStage(Player, IStageData, String) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.TeamHelper
Checks if a player's team has a stage.

I

IGameStageData - Interface in dev.scsupercraft.teamstages.data
An extension of IStageData that replaces game stage's implementation.
init() - Static method in class dev.scsupercraft.teamstages.data.TeamStageSaveHandler
DO NOT USE
isStageKnown(String) - Static method in class dev.scsupercraft.teamstages.data.TeamStageHelper
Checks if a stage has been defined in the known stages file.
isValidStageName(String) - Static method in class dev.scsupercraft.teamstages.data.TeamStageHelper
Checks if a string is valid as a stage name.

L

load() - Static method in class dev.scsupercraft.teamstages.data.TeamStageSaveHandler
Loads all team stage data.

M

markUnloaded() - Static method in class dev.scsupercraft.teamstages.data.TeamStageSaveHandler
Lets the save handler know that the data needs loading from the disk.

O

onPlayerLoad(File, UUID, Component) - Static method in class dev.scsupercraft.teamstages.data.TeamStageSaveHandler
Hook for the player LoadFromFile event.

P

player() - Static method in class dev.scsupercraft.teamstages.data.TeamStageHelper
Returns the player stage helper.

R

readFromNBT(CompoundTag) - Method in class dev.scsupercraft.teamstages.data.EmptyStageData
 
Remove(Team, String) - Constructor for class dev.scsupercraft.teamstages.event.TeamStageEvent.Remove
Creates a new remove team stage event.
Removed(Team, String) - Constructor for class dev.scsupercraft.teamstages.event.TeamStageEvent.Removed
Creates a new removed team stage event.
removeStage(String) - Method in class dev.scsupercraft.teamstages.data.EmptyStageData
 
removeStage(Team, String...) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.TeamHelper
Attempts to remove a stage from a team.
removeStage(String, GameStageEffect) - Method in interface dev.scsupercraft.teamstages.data.IGameStageData
Removes a stage from the unlocked stages collection matching the provided effect.
removeStage(ServerPlayer, String...) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.PlayerHelper
Attempts to remove a stage from a player.
removeStage(ServerPlayer, String...) - Method in class dev.scsupercraft.teamstages.data.TeamStageHelper.TeamHelper
Attempts to remove a stage from a player's team.

S

save() - Static method in class dev.scsupercraft.teamstages.data.TeamStageSaveHandler
Saves all team stage data.
setClientData(Collection<String>, Collection<String>) - Static method in class dev.scsupercraft.teamstages.data.TeamStageSaveHandler
Sets the client's synced stage data.
setGlobalPlayerStageData(Map<UUID, IStageData>) - Static method in class dev.scsupercraft.teamstages.data.TeamStageSaveHandler
DO NOT USE
setHasStage(boolean) - Method in class dev.scsupercraft.teamstages.event.TeamStageEvent.Check
Sets the result of the event.
syncPlayer(ServerPlayer) - Static method in class dev.scsupercraft.teamstages.data.TeamStageHelper
Syncs a player's stage data from the server to the client.
syncTeam(Team) - Static method in class dev.scsupercraft.teamstages.data.TeamStageHelper
Goes through the team's online members and syncs their stage data from the server to the client.

T

team() - Static method in class dev.scsupercraft.teamstages.data.TeamStageHelper
Returns the team stage helper.
TeamStageEvent - Class in dev.scsupercraft.teamstages.event
This class holds all the various team stage events.
TeamStageEvent(Team, String) - Constructor for class dev.scsupercraft.teamstages.event.TeamStageEvent
The base constructor for all team stage events.
TeamStageEvent.Add - Class in dev.scsupercraft.teamstages.event
TeamStageEvent.Added - Class in dev.scsupercraft.teamstages.event
This event is fired after a stage has been successfully added using TeamStageHelper.TeamHelper.addStage(net.minecraft.server.level.ServerPlayer, java.lang.String...).
TeamStageEvent.Check - Class in dev.scsupercraft.teamstages.event
This event is fired when a stage check is done on a player using TeamStageHelper.TeamHelper.hasStage(net.minecraft.world.entity.player.Player, java.lang.String).
TeamStageEvent.Cleared - Class in dev.scsupercraft.teamstages.event
This event is fired after the stages have been cleared from a player.
TeamStageEvent.Remove - Class in dev.scsupercraft.teamstages.event
TeamStageEvent.Removed - Class in dev.scsupercraft.teamstages.event
This event is fired after a stage has been successfully removed using TeamStageHelper.TeamHelper.removeStage(net.minecraft.server.level.ServerPlayer, java.lang.String...).
TeamStageHelper - Class in dev.scsupercraft.teamstages.data
A helper class for managing stages.
TeamStageHelper.PlayerHelper - Class in dev.scsupercraft.teamstages.data
A helper class for managing player stages.
TeamStageHelper.TeamHelper - Class in dev.scsupercraft.teamstages.data
A helper class for managing team stages.
TeamStageSaveHandler - Class in dev.scsupercraft.teamstages.data
The class responsible for saving and loading team stages.
TeamStageSaveHandler() - Constructor for class dev.scsupercraft.teamstages.data.TeamStageSaveHandler
 
TeamStagesSyncedEvent - Class in dev.scsupercraft.teamstages.event
An event that is fired after stages are synced to the client.
TeamStagesSyncedEvent(IStageData, IStageData) - Constructor for class dev.scsupercraft.teamstages.event.TeamStagesSyncedEvent
Creates a new team stages synced event.
TeamStagesSyncedEvent(IStageData, IStageData, Player) - Constructor for class dev.scsupercraft.teamstages.event.TeamStagesSyncedEvent
Creates a new team stages synced event.

W

writeToNBT() - Method in class dev.scsupercraft.teamstages.data.EmptyStageData
 
A C D E G H I L M O P R S T W 
All Classes and Interfaces|All Packages