java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.pokemon.ribbon.event.RibbonEvent
Direct Known Subclasses:
RibbonEvent.ReceiveRibbon, RibbonEvent.RemoveRibbon, RibbonEvent.SetDisplayedRibbon

public class RibbonEvent extends net.minecraftforge.eventbus.api.Event
Event class containing all sub events relating to ribbons
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    The event relating to when a Pokemon is given a ribbon
    static class 
    This contains the events relating to when a ribbon is removed from a Pokemon
    static class 
    The event called for when a pokemon's displayed ribbon is set

    Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event

    net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final Pokemon
     
    protected Ribbon
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    RibbonEvent(Pokemon pokemon, Ribbon ribbon)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the Pokemon that is involved with the ribbon
    Gets the ribbon involved in this event

    Methods inherited from class net.minecraftforge.eventbus.api.Event

    getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • pokemon

      protected final Pokemon pokemon
    • ribbon

      protected Ribbon ribbon
  • Constructor Details

    • RibbonEvent

      public RibbonEvent(Pokemon pokemon, Ribbon ribbon)
  • Method Details

    • getPokemon

      public Pokemon getPokemon()
      Gets the Pokemon that is involved with the ribbon
      Returns:
      The pokemon
    • getRibbon

      public Ribbon getRibbon()
      Gets the ribbon involved in this event
      Returns:
      The ribbon