public class BadgeCaseActionPacket extends AbstractPixelmonPacket
Modifier and Type | Class and Description |
---|---|
static class |
BadgeCaseActionPacket.Action |
Constructor and Description |
---|
BadgeCaseActionPacket() |
BadgeCaseActionPacket(BadgeCaseActionPacket.Action action,
boolean custom) |
BadgeCaseActionPacket(int index1,
boolean custom) |
BadgeCaseActionPacket(int index1,
int index2,
boolean custom) |
Modifier and Type | Method and Description |
---|---|
void |
decode(net.minecraft.network.PacketBuffer buf)
Convert from the supplied buffer into your specific this type
|
void |
encode(net.minecraft.network.PacketBuffer buf)
Deconstruct your this into the supplied byte buffer
|
protected void |
handlePacket(net.minecraftforge.fml.network.NetworkEvent.Context context) |
handle, reply
public BadgeCaseActionPacket()
public BadgeCaseActionPacket(BadgeCaseActionPacket.Action action, boolean custom)
public BadgeCaseActionPacket(int index1, boolean custom)
public BadgeCaseActionPacket(int index1, int index2, boolean custom)
public void decode(net.minecraft.network.PacketBuffer buf)
decode
in interface PixelmonPacket
decode
in class AbstractPixelmonPacket
buf
- The buffer being decodedpublic void encode(net.minecraft.network.PacketBuffer buf)
encode
in interface PixelmonPacket
encode
in class AbstractPixelmonPacket
buf
- The buffer being encodedprotected void handlePacket(net.minecraftforge.fml.network.NetworkEvent.Context context)
handlePacket
in class AbstractPixelmonPacket