Class TeamStageEvent.Cleared
java.lang.Object
net.minecraftforge.eventbus.api.Event
dev.scsupercraft.teamstages.event.TeamStageEvent.Cleared
- Enclosing class:
- TeamStageEvent
public static class TeamStageEvent.Cleared
extends net.minecraftforge.eventbus.api.Event
This event is fired after the stages have been cleared from a player.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result -
Constructor Summary
ConstructorsConstructorDescriptionCleared(@NotNull dev.ftb.mods.ftbteams.api.Team team, @NotNull net.darkhax.gamestages.data.IStageData stageData) Creates a new cleared team stages event. -
Method Summary
Modifier and TypeMethodDescription@NotNull net.darkhax.gamestages.data.IStageDataGets the stage data that was cleared.@NotNull dev.ftb.mods.ftbteams.api.TeamgetTeam()Gets the team the event is for.Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Constructor Details
-
Cleared
public Cleared(@NotNull @NotNull dev.ftb.mods.ftbteams.api.Team team, @NotNull @NotNull net.darkhax.gamestages.data.IStageData stageData) Creates a new cleared team stages event.- Parameters:
team- the team the event is forstageData- the stage data that was cleared
-
-
Method Details
-
getStageData
@NotNull public @NotNull net.darkhax.gamestages.data.IStageData getStageData()Gets the stage data that was cleared.- Returns:
- the stage data that was cleared
-
getTeam
@NotNull public @NotNull dev.ftb.mods.ftbteams.api.Team getTeam()Gets the team the event is for.- Returns:
- the team
-