Class RibbonEvent.ReceiveRibbon

java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.pokemon.ribbon.event.RibbonEvent
com.pixelmonmod.pixelmon.api.pokemon.ribbon.event.RibbonEvent.ReceiveRibbon
Direct Known Subclasses:
RibbonEvent.ReceiveRibbon.Post, RibbonEvent.ReceiveRibbon.Pre
Enclosing class:
RibbonEvent

public static class RibbonEvent.ReceiveRibbon extends RibbonEvent
The event relating to when a Pokemon is given a ribbon
  • Field Details

    • shouldDisplay

      protected boolean shouldDisplay
  • Constructor Details

    • ReceiveRibbon

      public ReceiveRibbon(Pokemon pokemon, Ribbon ribbon, boolean shouldDisplay)
  • Method Details

    • isShouldDisplay

      public boolean isShouldDisplay()
      Will tell you if the ribbon given will be forced as the display ribbon
      Returns:
      True if it will be the new display ribbon