Class RibbonEvent.RemoveRibbon

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

public static class RibbonEvent.RemoveRibbon extends RibbonEvent
This contains the events relating to when a ribbon is removed from a Pokemon
  • Field Details

    • wasDisplay

      protected boolean wasDisplay
  • Constructor Details

    • RemoveRibbon

      public RemoveRibbon(Pokemon pokemon, Ribbon ribbon, boolean wasDisplay)
  • Method Details

    • wasDisplayed

      public boolean wasDisplayed()
      If the ribbon was previously displayed and hence the Pokemon's display ribbon is being removed
      Returns:
      Was it displayed