public class CustomDropsOpenPacket extends AbstractPixelmonPacket
Constructor and Description |
---|
CustomDropsOpenPacket()
Empty constructor for packet registration.
|
CustomDropsOpenPacket(java.lang.String mnemonic,
boolean escapeCloses,
net.minecraft.util.text.ITextComponent title,
java.util.List<net.minecraft.item.ItemStack> items,
net.minecraft.util.text.ITextComponent... buttons) |
Modifier and Type | Method and Description |
---|---|
void |
decode(net.minecraft.network.PacketBuffer buffer)
Convert from the supplied buffer into your specific this type
|
void |
encode(net.minecraft.network.PacketBuffer buffer)
Deconstruct your this into the supplied byte buffer
|
protected void |
handlePacket(net.minecraftforge.fml.network.NetworkEvent.Context context) |
handle, reply
public CustomDropsOpenPacket()
public CustomDropsOpenPacket(java.lang.String mnemonic, boolean escapeCloses, net.minecraft.util.text.ITextComponent title, java.util.List<net.minecraft.item.ItemStack> items, net.minecraft.util.text.ITextComponent... buttons)
public void decode(net.minecraft.network.PacketBuffer buffer)
decode
in interface PixelmonPacket
decode
in class AbstractPixelmonPacket
buffer
- public void encode(net.minecraft.network.PacketBuffer buffer)
encode
in interface PixelmonPacket
encode
in class AbstractPixelmonPacket
buffer
- protected void handlePacket(net.minecraftforge.fml.network.NetworkEvent.Context context)
handlePacket
in class AbstractPixelmonPacket