public class PixelmonUpdateEvent
extends net.minecraftforge.eventbus.api.Event
Modifier and Type | Field and Description |
---|---|
net.minecraftforge.event.TickEvent.Phase |
phase
The
TickEvent.Phase that the update is occurring in. |
PixelmonEntity |
pokemon
The
PixelmonEntity instance that's being updated |
Constructor and Description |
---|
PixelmonUpdateEvent(PixelmonEntity pokemon,
net.minecraftforge.event.TickEvent.Phase phase) |
Modifier and Type | Method and Description |
---|---|
boolean |
isCancelable() |
public final PixelmonEntity pokemon
PixelmonEntity
instance that's being updatedpublic final net.minecraftforge.event.TickEvent.Phase phase
TickEvent.Phase
that the update is occurring in. When Phase.END
, this event cannot be canceledpublic PixelmonUpdateEvent(PixelmonEntity pokemon, net.minecraftforge.event.TickEvent.Phase phase)