Class PokerusEvent.Spread.Pre
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.PokerusEvent
com.pixelmonmod.pixelmon.api.events.PokerusEvent.Spread
com.pixelmonmod.pixelmon.api.events.PokerusEvent.Spread.Pre
- Enclosing class:
- PokerusEvent.Spread
Fires on the server before the Pokérus spreads from an opponent or from a party member.
Can be cancelled.
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
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 inherited from class com.pixelmonmod.pixelmon.api.events.PokerusEvent.Spread
donorType, party, wrapper
-
Constructor Summary
ConstructorDescriptionPre
(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
-
Constructor Details
-
Pre
- 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.
-