public abstract class BattleTaskPacket extends AbstractPixelmonPacket
BattleMessagePacket
if you have a message that goes along with this task.Constructor and Description |
---|
BattleTaskPacket() |
Modifier and Type | Method and Description |
---|---|
abstract java.util.UUID |
getPokemonID()
Gets the UUID of the
Pokemon this message affects |
protected void |
handlePacket(net.minecraftforge.fml.network.NetworkEvent.Context context) |
abstract boolean |
process(ClientBattleManager bm)
Will be called once per frame until you return false.
|
boolean |
shouldRunParallel()
If this returns true the gui will not wait to complete this task before running the next task in queue.
|
decode, encode, handle, reply
public abstract boolean process(ClientBattleManager bm)
@Nullable public abstract java.util.UUID getPokemonID()
Pokemon
this message affectspublic boolean shouldRunParallel()
protected void handlePacket(net.minecraftforge.fml.network.NetworkEvent.Context context)
handlePacket
in class AbstractPixelmonPacket