Class PokerusEvent.Cured

java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.PokerusEvent
com.pixelmonmod.pixelmon.api.events.PokerusEvent.Cured
Enclosing class:
PokerusEvent

public static class PokerusEvent.Cured extends PokerusEvent
Fires on the server when a reasonable amount of time has passed and the Pokérus is cured. This value changes according to @PokerusStrain. See Cured(ServerPlayer, Pokemon, PlayerPartyStorage).
  • Field Details

    • party

      public final PlayerPartyStorage party
    • player

      public final net.minecraft.server.level.ServerPlayer player
    • pokemon

      public final Pokemon pokemon
  • Constructor Details

    • Cured

      public Cured(net.minecraft.server.level.ServerPlayer player, Pokemon pokemon, PlayerPartyStorage party)
      Parameters:
      player - The owner of the Pokémon.
      pokemon - The Pokemon.
      party - The owner's storage.