Package com.pixelmonmod.tcg.api.events
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
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
ConstructorDescriptionPre
(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.item.ItemStack packItem, ImmutableCard[] cards) -
Method Summary
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
-
Constructor Details
-
Pre
public Pre(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.item.ItemStack packItem, ImmutableCard[] cards)
-
-
Method Details
-
getCards
-