Class PokeLootEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.PokeLootEvent
- Direct Known Subclasses:
PokeLootEvent.Claim
,PokeLootEvent.Drop
,PokeLootEvent.GetDrops
public abstract class PokeLootEvent
extends net.minecraftforge.eventbus.api.Event
Superclass event for actions related to Poke Loot.
Replacement of
PokeLootClaimedEvent
.
Subclasses: PokeLootEvent.Claim
, PokeLootEvent.GetDrops
, PokeLootEvent.Drop
- Since:
- April 28, 2021
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Event that fires when a Poke Loot is attempted to be claimed.static class
Event that fires when loot is given from a Poke Loot.static class
Event that fires when a Poke Loot in the process of being claimed chooses its drops.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
Modifier and TypeFieldDescriptionThe tile entity of this Poke Loot.net.minecraft.server.level.ServerPlayer
The player attempting to collect the Poke Loot. -
Constructor Summary
ConstructorDescriptionPokeLootEvent
(net.minecraft.server.level.ServerPlayer player, PokeChestTileEntity tile) -
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
chest
The tile entity of this Poke Loot. -
player
public net.minecraft.server.level.ServerPlayer playerThe player attempting to collect the Poke Loot.
-
-
Constructor Details
-
PokeLootEvent
-