Class PokerusEvent.Spread
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.PokerusEvent
com.pixelmonmod.pixelmon.api.events.PokerusEvent.Spread
- Direct Known Subclasses:
PokerusEvent.Spread.Post
,PokerusEvent.Spread.Pre
- Enclosing class:
- PokerusEvent
Fires on the server when the Pokérus spreads from an opponent or from a party member to another.
See
Spread(PlayerPartyStorage, PixelmonWrapper, PokerusStrain)
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Fires on the server after the Pokérus has spread from an opponent or from a party member.static class
Fires on the server before the Pokérus spreads from an opponent or from a party member.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 PokerusStrain
final PlayerPartyStorage
final PixelmonWrapper
-
Constructor Summary
ConstructorDescriptionSpread
(PlayerPartyStorage party, PixelmonWrapper wrapper, PokerusStrain donorType) -
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
party
-
wrapper
-
donorType
-
-
Constructor Details
-
Spread
- 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.
-