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
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
Modifier and TypeFieldDescriptionfinal PlayerPartyStorage
final net.minecraft.server.level.ServerPlayer
final Pokemon
-
Constructor Summary
ConstructorDescriptionCured
(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
-
Field Details
-
party
-
player
public final net.minecraft.server.level.ServerPlayer player -
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
- ThePokemon
.party
- The owner's storage.
-