Class LostToWildPixelmonEvent

java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.LostToWildPixelmonEvent

public class LostToWildPixelmonEvent extends net.neoforged.bus.api.Event
Fired when a wild Pokémon defeats a player
  • 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)