Class AttackEvent.Stab

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

public static class AttackEvent.Stab extends AttackEvent
Event fired after Pixelmon calculates the STAB multiplier for this attack. This event will fire even if the Pokémon is not receiving a STAB, and from this method it is possible to change the multiplier directly.

Since:
June 18, 2019
  • Field Details

    • stabMultiplier

      public double stabMultiplier
      The multiplier for damage.
  • Constructor Details

  • Method Details

    • isStabbing

      public boolean isStabbing()
      Returns true if this attack will receive a STAB.
    • setStabbing

      public void setStabbing(boolean stabbing)