Class RibbonEvent
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.pokemon.ribbon.event.RibbonEvent
- Direct Known Subclasses:
RibbonEvent.ReceiveRibbon
,RibbonEvent.RemoveRibbon
,RibbonEvent.SetDisplayedRibbon
public class RibbonEvent
extends net.neoforged.bus.api.Event
Event class containing all sub events relating to ribbons
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
The event relating to when a Pokemon is given a ribbonstatic class
This contains the events relating to when a ribbon is removed from a Pokemonstatic class
The event called for when a pokemon's displayed ribbon is set -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the Pokemon that is involved with the ribbonGets the ribbon involved in this event
-
Field Details
-
pokemon
-
ribbon
-
-
Constructor Details
-
RibbonEvent
-
-
Method Details
-
getPokemon
Gets the Pokemon that is involved with the ribbon- Returns:
- The pokemon
-
getRibbon
Gets the ribbon involved in this event- Returns:
- The ribbon
-