Class RibbonEvent.RemoveRibbon.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.RemoveRibbon
com.pixelmonmod.pixelmon.api.pokemon.ribbon.event.RibbonEvent.RemoveRibbon.Pre
- Enclosing class:
 - 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
- 
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.pokemon.ribbon.event.RibbonEvent.RemoveRibbon
RibbonEvent.RemoveRibbon.Post, RibbonEvent.RemoveRibbon.PreNested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.pokemon.ribbon.event.RibbonEvent
RibbonEvent.ReceiveRibbon, RibbonEvent.RemoveRibbon, RibbonEvent.SetDisplayedRibbonNested 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.RemoveRibbon
wasDisplayFields inherited from class com.pixelmonmod.pixelmon.api.pokemon.ribbon.event.RibbonEvent
pokemon, ribbon - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidsetRemoveDisplayed(boolean wasDisplayed) Sets if the display ribbon is clearedvoidSets the ribbon being removedMethods inherited from class com.pixelmonmod.pixelmon.api.pokemon.ribbon.event.RibbonEvent.RemoveRibbon
wasDisplayedMethods inherited from class com.pixelmonmod.pixelmon.api.pokemon.ribbon.event.RibbonEvent
getPokemon, getRibbonMethods 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 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
 
 -