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,net.minecraft.network.protocol.common.custom.CustomPacketPayload
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.network.protocol.common.custom.CustomPacketPayload
net.minecraft.network.protocol.common.custom.CustomPacketPayload.FallbackProvider<B extends net.minecraft.network.FriendlyByteBuf>, net.minecraft.network.protocol.common.custom.CustomPacketPayload.Type<T extends net.minecraft.network.protocol.common.custom.CustomPacketPayload>, net.minecraft.network.protocol.common.custom.CustomPacketPayload.TypeAndCodec<B extends net.minecraft.network.FriendlyByteBuf,T extends net.minecraft.network.protocol.common.custom.CustomPacketPayload> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the UUID of thePokemonthis message affectsbooleanWill be called once per frame until you return false.Methods inherited from class com.pixelmonmod.pixelmon.battles.tasks.BattleTaskPacket
handlePacket, shouldRunParallelMethods inherited from class com.pixelmonmod.pixelmon.comm.data.AbstractPixelmonPacket
decode, encode, handle, replyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.common.custom.CustomPacketPayload
toVanillaClientbound, toVanillaServerboundMethods inherited from interface com.pixelmonmod.pixelmon.comm.data.PixelmonPacket
decode, encode, type
-
Constructor Details
-
FailedSwitchFleeTask
public FailedSwitchFleeTask()
-
-
Method Details
-
process
Description copied from class:BattleTaskPacketWill be called once per frame until you return false.- Specified by:
processin classBattleTaskPacket- Returns:
- true if you should continue being updated. false otherwise.
-
getPokemonID
Description copied from class:BattleTaskPacketGets the UUID of thePokemonthis message affects- Specified by:
getPokemonIDin classBattleTaskPacket- Returns:
- the uuid of the pokemon this message affects, or null.
-