public class ZygardeCubePacket extends AbstractPixelmonPacket
| Constructor and Description |
|---|
ZygardeCubePacket()
Empty constructor for packet registration.
|
ZygardeCubePacket(StoragePosition position,
int cubeSlot) |
ZygardeCubePacket(StoragePosition position,
int cubeSlot,
int move) |
| 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, replypublic ZygardeCubePacket()
public ZygardeCubePacket(StoragePosition position, int cubeSlot, int move)
public ZygardeCubePacket(StoragePosition position, int cubeSlot)
public void decode(net.minecraft.network.PacketBuffer buf)
decode in interface PixelmonPacketdecode in class AbstractPixelmonPacketbuf - public void encode(net.minecraft.network.PacketBuffer buf)
encode in interface PixelmonPacketencode in class AbstractPixelmonPacketbuf - protected void handlePacket(net.minecraftforge.fml.network.NetworkEvent.Context context)
handlePacket in class AbstractPixelmonPacket