Class PokeLootEvent.Claim
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.PokeLootEvent
com.pixelmonmod.pixelmon.api.events.PokeLootEvent.Claim
- All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
- Enclosing class:
PokeLootEvent
public static class PokeLootEvent.Claim
extends PokeLootEvent
implements net.neoforged.bus.api.ICancellableEvent
Event that fires when a Poke Loot is attempted to be claimed.
Cancel to prevent claiming of the loot.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.PokeLootEvent
PokeLootEvent.Claim, PokeLootEvent.Drop, PokeLootEvent.GetDrops
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.events.PokeLootEvent
chest, player
-
Constructor Summary
ConstructorsConstructorDescriptionClaim
(net.minecraft.server.level.ServerPlayer player, PokeChestTileEntity tile) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.neoforged.bus.api.ICancellableEvent
isCanceled, setCanceled
-
Constructor Details
-
Claim
-