Class PackOpenEvent.Pre

java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.tcg.api.events.PackOpenEvent
com.pixelmonmod.tcg.api.events.PackOpenEvent.Pre
Enclosing class:
PackOpenEvent

public static class PackOpenEvent.Pre extends PackOpenEvent
Fired before a pack is opened, before cards in the pack are calculated.
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.pixelmonmod.tcg.api.events.PackOpenEvent

    PackOpenEvent.Post, PackOpenEvent.Pre

    Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event

    net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
  • Field Summary

    Fields inherited from class com.pixelmonmod.tcg.api.events.PackOpenEvent

    cards, packItem, player
  • Constructor Summary

    Constructors
    Constructor
    Description
    Pre(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.item.ItemStack packItem, ImmutableCard[] cards)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    Methods inherited from class com.pixelmonmod.tcg.api.events.PackOpenEvent

    getCards, getPackItem, getPlayer

    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

    • Pre

      public Pre(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.item.ItemStack packItem, ImmutableCard[] cards)
  • Method Details