public interface TCGPacket
| 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
|
void |
handle(net.minecraftforge.fml.network.NetworkEvent.Context context)
Handles the packet being executed on the server or the client
|
void encode(net.minecraft.network.PacketBuffer buffer)
buffer - The buffer being encodedvoid decode(net.minecraft.network.PacketBuffer buffer)
buffer - The buffer being decodedvoid handle(net.minecraftforge.fml.network.NetworkEvent.Context context)
context - The network event context being supplied by Forge