Class RibbonEvent.SetDisplayedRibbon.Pre
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.pokemon.ribbon.event.RibbonEvent
com.pixelmonmod.pixelmon.api.pokemon.ribbon.event.RibbonEvent.SetDisplayedRibbon
com.pixelmonmod.pixelmon.api.pokemon.ribbon.event.RibbonEvent.SetDisplayedRibbon.Pre
- Enclosing class:
- RibbonEvent.SetDisplayedRibbon
Fired before the ribbon is set. You can use this event to change the displayed ribbon
Cancelling this event will prevent the pokemon's displayed ribbon from changing
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.pokemon.ribbon.event.RibbonEvent.SetDisplayedRibbon
RibbonEvent.SetDisplayedRibbon.Post, RibbonEvent.SetDisplayedRibbon.Pre
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.pokemon.ribbon.event.RibbonEvent
RibbonEvent.ReceiveRibbon, RibbonEvent.RemoveRibbon, RibbonEvent.SetDisplayedRibbon
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 inherited from class com.pixelmonmod.pixelmon.api.pokemon.ribbon.event.RibbonEvent.SetDisplayedRibbon
player
Fields inherited from class com.pixelmonmod.pixelmon.api.pokemon.ribbon.event.RibbonEvent
pokemon, ribbon
-
Constructor Summary
-
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.pokemon.ribbon.event.RibbonEvent.SetDisplayedRibbon
getPlayer
Methods inherited from class com.pixelmonmod.pixelmon.api.pokemon.ribbon.event.RibbonEvent
getPokemon, getRibbon
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Constructor Details
-
Pre
-
-
Method Details
-
setRibbon
Sets the ribbon that will be displayed- Parameters:
ribbon
- The ribbon to be displayed
-