public class RaidDropsTask extends BattleTaskPacket
| Constructor and Description |
|---|
RaidDropsTask()
Empty constructor for packet registration.
|
RaidDropsTask(boolean canCatch,
java.util.List<ItemData> itemData,
RaidData raid,
boolean shiny,
RaidData.RaidPlayer player)
Initializes a packet.
|
| Modifier and Type | Method and Description |
|---|---|
void |
decode(net.minecraft.network.PacketBuffer buf)
Decodes the information from the buffer to the packet instance
|
void |
encode(net.minecraft.network.PacketBuffer buf)
Encodes the buffer with the packet information
|
java.util.UUID |
getPokemonID()
Gets the UUID of the
Pokemon this message affects |
boolean |
process(ClientBattleManager bm)
Will be called once per frame until you return false.
|
void |
processClient() |
handlePacket, shouldRunParallelhandle, replypublic RaidDropsTask()
public RaidDropsTask(boolean canCatch,
java.util.List<ItemData> itemData,
RaidData raid,
boolean shiny,
RaidData.RaidPlayer player)
public boolean process(ClientBattleManager bm)
process in class BattleTaskPacketbm - public void processClient()
@Nullable public java.util.UUID getPokemonID()
BattleTaskPacketPokemon this message affectsgetPokemonID in class BattleTaskPacketpublic void decode(net.minecraft.network.PacketBuffer buf)
PixelmonPacketdecode in interface PixelmonPacketdecode in class AbstractPixelmonPacketbuf - The buffer being decodedpublic void encode(net.minecraft.network.PacketBuffer buf)
PixelmonPacketencode in interface PixelmonPacketencode in class AbstractPixelmonPacketbuf - The buffer being encoded