Class PokerusEvent.Spread.Post
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.PokerusEvent
com.pixelmonmod.pixelmon.api.events.PokerusEvent.Spread
com.pixelmonmod.pixelmon.api.events.PokerusEvent.Spread.Post
- Enclosing class:
PokerusEvent.Spread
Fires on the server after the Pokérus has spread from an opponent or from a party member.
See
Spread(PlayerPartyStorage, PixelmonWrapper, PokerusStrain)
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.PokerusEvent.Spread
PokerusEvent.Spread.Post, PokerusEvent.Spread.Pre
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.PokerusEvent
PokerusEvent.Cured, PokerusEvent.Spread
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.events.PokerusEvent.Spread
donorType, party, wrapper
-
Constructor Summary
ConstructorsConstructorDescriptionPost
(PlayerPartyStorage party, PixelmonWrapper wrapper, PokerusStrain donorType) -
Method Summary
-
Constructor Details
-
Post
- Parameters:
party
- The owner's storage.wrapper
- The wrapper of the Pokémon.donorType
- The Pokérus type of the donor, which is being reflected into the new Pokémon.
-