public class DialogueInputActionPacket extends AbstractPixelmonPacket
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
text |
Constructor and Description |
---|
DialogueInputActionPacket()
Empty constructor for packet registration.
|
DialogueInputActionPacket(java.lang.String text) |
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 DialogueInputActionPacket()
public DialogueInputActionPacket(java.lang.String text)
public void decode(net.minecraft.network.PacketBuffer buf)
decode
in interface PixelmonPacket
decode
in class AbstractPixelmonPacket
buf
- public void encode(net.minecraft.network.PacketBuffer buf)
encode
in interface PixelmonPacket
encode
in class AbstractPixelmonPacket
buf
- protected void handlePacket(net.minecraftforge.fml.network.NetworkEvent.Context context)
handlePacket
in class AbstractPixelmonPacket