Class PixelmonUpdateEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.PixelmonUpdateEvent
public class PixelmonUpdateEvent
extends net.minecraftforge.eventbus.api.Event
Event fired specifically when update() is started and finished on EntityPixelmon.
This serves as a shortcut event for LivingUpdateEvent and also a means of checking post updates
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal net.minecraftforge.event.TickEvent.PhaseTheTickEvent.Phasethat the update is occurring in.final PixelmonEntityThePixelmonEntityinstance that's being updated -
Constructor Summary
ConstructorsConstructorDescriptionPixelmonUpdateEvent(PixelmonEntity pokemon, net.minecraftforge.event.TickEvent.Phase phase) -
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
pokemon
ThePixelmonEntityinstance that's being updated -
phase
public final net.minecraftforge.event.TickEvent.Phase phaseTheTickEvent.Phasethat the update is occurring in. WhenPhase.END, this event cannot be canceled
-
-
Constructor Details
-
PixelmonUpdateEvent
-
-
Method Details
-
isCancelable
public boolean isCancelable()- Overrides:
isCancelablein classnet.minecraftforge.eventbus.api.Event
-