public abstract class PokemonListPacket extends AbstractPixelmonPacket
| Modifier and Type | Field and Description |
|---|---|
PokemonBase[] |
pokemonList |
| Constructor and Description |
|---|
PokemonListPacket() |
PokemonListPacket(PokemonBase[] pokemon)
Initializes a Pokémon list packet.
|
PokemonListPacket(Species... pokemon)
Initializes a Pokémon list packet.
|
PokemonListPacket(Species[] pokemon,
java.lang.String[] forms)
Initializes a Pokémon list packet.
|
| Modifier and Type | Method and Description |
|---|---|
void |
decode(net.minecraft.network.PacketBuffer buffer)
Decodes the information from the buffer to the packet instance
|
void |
encode(net.minecraft.network.PacketBuffer buffer)
Encodes the buffer with the packet information
|
handle, handlePacket, replypublic PokemonBase[] pokemonList
public PokemonListPacket()
public PokemonListPacket(Species... pokemon)
pokemon - The Pokémon in the list.public PokemonListPacket(Species[] pokemon, java.lang.String[] forms)
pokemon - The Pokémon in the list.forms - The forms of the Pokémon in the list.public PokemonListPacket(PokemonBase[] pokemon)
pokemon - The Pokémon in the list.public void decode(net.minecraft.network.PacketBuffer buffer)
PixelmonPacketdecode in interface PixelmonPacketdecode in class AbstractPixelmonPacketbuffer - The buffer being decodedpublic void encode(net.minecraft.network.PacketBuffer buffer)
PixelmonPacketencode in interface PixelmonPacketencode in class AbstractPixelmonPacketbuffer - The buffer being encoded