Package com.pixelmonmod.tcg.api.events
Class PackOpenEvent.Post
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.tcg.api.events.PackOpenEvent
com.pixelmonmod.tcg.api.events.PackOpenEvent.Post
- Enclosing class:
- PackOpenEvent
Fires after a pack has been opened. Contains the Pack item that was right-clicked as well as the cards that were given.
-
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
ConstructorDescriptionPost
(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
-
Post
public Post(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.item.ItemStack packItem, ImmutableCard[] cards)
-