Class CardDrawnEvent

java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.tcg.api.events.CardDrawnEvent

public class CardDrawnEvent extends net.neoforged.bus.api.Event
  • Field Details

    • gameServerState

      protected GameServerState gameServerState
    • player

      protected net.minecraft.world.entity.player.Player player
    • numberOfCardsDrawn

      protected int numberOfCardsDrawn
    • deck

      protected List<ImmutableCard> deck
    • hand

      protected List<ImmutableCard> hand
  • Constructor Details

  • Method Details

    • getGameServerState

      public GameServerState getGameServerState()
    • getPlayer

      public net.minecraft.world.entity.player.Player getPlayer()
    • getNumberOfCardsDrawn

      public int getNumberOfCardsDrawn()
    • getDeck

      public List<ImmutableCard> getDeck()
    • getHand

      public List<ImmutableCard> getHand()