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.
  • Constructor Details

    • Claim

      public Claim(net.minecraft.server.level.ServerPlayer player, PokeChestTileEntity tile)