Class FailedSwitchFleeTask
java.lang.Object
com.pixelmonmod.pixelmon.comm.data.AbstractPixelmonPacket
com.pixelmonmod.pixelmon.battles.tasks.BattleTaskPacket
com.pixelmonmod.pixelmon.battles.tasks.FailedSwitchFleeTask
- All Implemented Interfaces:
PixelmonPacket
Created by Jay113355 on 2/28/2021.
Not a IBattleMessage cause the message is sent before this and is different per scenario.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the UUID of thePokemon
this message affectsboolean
Will be called once per frame until you return false.Methods inherited from class com.pixelmonmod.pixelmon.battles.tasks.BattleTaskPacket
handlePacket, shouldRunParallel
Methods inherited from class com.pixelmonmod.pixelmon.comm.data.AbstractPixelmonPacket
decode, encode, handle, reply
-
Constructor Details
-
FailedSwitchFleeTask
public FailedSwitchFleeTask()Empty constructor for packet registration.
-
-
Method Details
-
process
Description copied from class:BattleTaskPacket
Will be called once per frame until you return false.- Specified by:
process
in classBattleTaskPacket
- Returns:
- true if you should continue being updated. false otherwise.
-
getPokemonID
Description copied from class:BattleTaskPacket
Gets the UUID of thePokemon
this message affects- Specified by:
getPokemonID
in classBattleTaskPacket
- Returns:
- the uuid of the pokemon this message affects, or null.
-