public static class RibbonEvent.SetDisplayedRibbon extends RibbonEvent
Modifier and Type | Class and Description |
---|---|
static class |
RibbonEvent.SetDisplayedRibbon.Post
Fired after the displayed ribbon has been set
You cannot cancel this event
|
static class |
RibbonEvent.SetDisplayedRibbon.Pre
Fired before the ribbon is set.
|
RibbonEvent.ReceiveRibbon, RibbonEvent.RemoveRibbon, RibbonEvent.SetDisplayedRibbon
Modifier and Type | Field and Description |
---|---|
protected net.minecraft.entity.player.ServerPlayerEntity |
player |
pokemon, ribbon
Constructor and Description |
---|
SetDisplayedRibbon(Pokemon pokemon,
Ribbon ribbon,
net.minecraft.entity.player.ServerPlayerEntity player) |
Modifier and Type | Method and Description |
---|---|
net.minecraft.entity.player.ServerPlayerEntity |
getPlayer()
The player who owns the Pokemon
|
getPokemon, getRibbon