Class TeamStageEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
dev.scsupercraft.teamstages.event.TeamStageEvent
Direct Known Subclasses:
TeamStageEvent.Add, TeamStageEvent.Added, TeamStageEvent.Check, TeamStageEvent.Remove, TeamStageEvent.Removed

public class TeamStageEvent extends net.minecraftforge.eventbus.api.Event
This class holds all the various team stage events. The main class itself should not be treated as an event.
  • Constructor Details

    • TeamStageEvent

      public TeamStageEvent(@NotNull @NotNull dev.ftb.mods.ftbteams.api.Team team, @NotNull @NotNull String stageName)
      The base constructor for all team stage events.
      Parameters:
      team - the team the event is for.
      stageName - the stage the event is for.
  • Method Details

    • getStageName

      @NotNull public @NotNull String getStageName()
      Gets the stage name for the event.
      Returns:
      the stage name for the event
    • getTeam

      @NotNull public @NotNull dev.ftb.mods.ftbteams.api.Team getTeam()
      Gets the team the event is for.
      Returns:
      the team