Class StartGameEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.tcg.api.events.StartGameEvent

public class StartGameEvent extends net.minecraftforge.eventbus.api.Event
Fired when a tcg game starts
  • 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
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    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

  • Method Details

    • getPlayers

      public List<PlayerServerState> getPlayers()
      Returns:
      - Returns the list of players trying to start a game