Class BeatWildPixelmonEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.BeatWildPixelmonEvent

public class BeatWildPixelmonEvent extends net.minecraftforge.eventbus.api.Event
Fired when a wild Pokémon is defeated by a player
  • Nested Class Summary

    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
    Modifier and Type
    Field
    Description
    final net.minecraft.server.level.ServerPlayer
    The player who beat the Pokémon
    The wild Pokemon participant that was defeated
  • Constructor Summary

    Constructors
    Constructor
    Description
    BeatWildPixelmonEvent(net.minecraft.server.level.ServerPlayer player, WildPixelmonParticipant wpp)
     
  • Method Summary

    Methods inherited from class net.minecraftforge.eventbus.api.Event

    getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • player

      public final net.minecraft.server.level.ServerPlayer player
      The player who beat the Pokémon
    • wpp

      public final WildPixelmonParticipant wpp
      The wild Pokemon participant that was defeated
  • Constructor Details

    • BeatWildPixelmonEvent

      public BeatWildPixelmonEvent(net.minecraft.server.level.ServerPlayer player, WildPixelmonParticipant wpp)