Class RibbonEvent
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
Modifier 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 setNested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the Pokemon that is involved with the ribbonGets the ribbon involved in this eventMethods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
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
-