Class EVGainEvent.Pre

java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.battles.EVGainEvent
com.pixelmonmod.pixelmon.api.events.battles.EVGainEvent.Pre
Enclosing class:
EVGainEvent

public static class EVGainEvent.Pre extends EVGainEvent
Cancelling this will prevent the yields from being given at all.
  • Constructor Details

  • Method Details

    • setYield

      public void setYield(EVYields evYields)
      This is used to set the yields to a new value
      Parameters:
      evYields - The new EVYields being given tot he Pokemon