Class PokerusEvent.Spread.Pre

java.lang.Object
net.minecraftforge.eventbus.api.Event
Enclosing class:
PokerusEvent.Spread

public static class PokerusEvent.Spread.Pre extends 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)
  • Constructor Details

    • Pre

      public Pre(PlayerPartyStorage party, PixelmonWrapper wrapper, PokerusStrain donorType)
      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.