Class LostToWildPixelmonEvent

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

public class LostToWildPixelmonEvent extends net.minecraftforge.eventbus.api.Event
Fired when a wild Pokémon defeats 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 lost to the Pokémon
    The wild Pokemon participant that won
  • Constructor Summary

    Constructors
    Constructor
    Description
    LostToWildPixelmonEvent(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 lost to the Pokémon
    • wpp

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

    • LostToWildPixelmonEvent

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