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