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

    Constructors
    Constructor
    Description
    Cleared(@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 Type
    Method
    Description
    @NotNull net.darkhax.gamestages.data.IStageData
    Gets the stage data that was cleared.
    @NotNull dev.ftb.mods.ftbteams.api.Team
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 for
      stageData - 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