Class RibbonEvent.SetDisplayedRibbon

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
Direct Known Subclasses:
RibbonEvent.SetDisplayedRibbon.Post, RibbonEvent.SetDisplayedRibbon.Pre
Enclosing class:
RibbonEvent

public static class RibbonEvent.SetDisplayedRibbon extends RibbonEvent
The event called for when a pokemon's displayed ribbon is set
  • Field Details

    • player

      protected final net.minecraft.server.level.ServerPlayer player
  • Constructor Details

    • SetDisplayedRibbon

      public SetDisplayedRibbon(Pokemon pokemon, Ribbon ribbon, net.minecraft.server.level.ServerPlayer player)
  • Method Details

    • getPlayer

      @Nullable public net.minecraft.server.level.ServerPlayer getPlayer()
      The player who owns the Pokemon
      Returns:
      The owner