Class PokerusEvent.Cured

java.lang.Object
net.minecraftforge.eventbus.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).
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.PokerusEvent

    PokerusEvent.Cured, PokerusEvent.Spread

    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
     
    final Pokemon
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Cured(net.minecraft.server.level.ServerPlayer player, Pokemon pokemon, PlayerPartyStorage party)
     
  • 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

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