Class RibbonEvent.RemoveRibbon.Pre

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

public static class RibbonEvent.RemoveRibbon.Pre extends RibbonEvent.RemoveRibbon
The event fired just before the ribbon is removed from the Pokemon Here you can set the ribbon or if the displayed ribbon will be removed (and set to no display)] Cancelling this will cancel the removal & the removal of the display
  • Constructor Details

    • Pre

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

    • setRibbon

      public void setRibbon(Ribbon ribbon)
      Sets the ribbon being removed
      Parameters:
      ribbon - The ribbon
    • setRemoveDisplayed

      public void setRemoveDisplayed(boolean wasDisplayed)
      Sets if the display ribbon is cleared
      Parameters:
      wasDisplayed - Was it a displayed ribbon