Class PokeLootEvent
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.PokeLootEvent
- Direct Known Subclasses:
PokeLootEvent.Claim,PokeLootEvent.Drop,PokeLootEvent.GetDrops
public abstract class PokeLootEvent
extends net.neoforged.bus.api.Event
Superclass event for actions related to Poke Loot.
Replacement of
.
invalid reference
PokeLootClaimedEvent
Subclasses: PokeLootEvent.Claim, PokeLootEvent.GetDrops, PokeLootEvent.Drop
- Since:
- April 28, 2021
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classEvent that fires when a Poke Loot is attempted to be claimed.static classEvent that fires when loot is given from a Poke Loot.static classEvent that fires when a Poke Loot in the process of being claimed chooses its drops. -
Field Summary
FieldsModifier and TypeFieldDescriptionThe tile entity of this Poke Loot.net.minecraft.server.level.ServerPlayerThe player attempting to collect the Poke Loot. -
Constructor Summary
ConstructorsConstructorDescriptionPokeLootEvent(net.minecraft.server.level.ServerPlayer player, PokeChestTileEntity tile) -
Method Summary
-
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
-