public interface IEncodeable
Modifier and Type | Method and Description |
---|---|
void |
decodeInto(net.minecraft.network.PacketBuffer buffer)
Decodes the object from a buffer.
|
void |
encodeInto(net.minecraft.network.PacketBuffer buffer)
Encodes the object into a buffer.
|
void encodeInto(net.minecraft.network.PacketBuffer buffer)
buffer
- The buffer to encode the object into.void decodeInto(net.minecraft.network.PacketBuffer buffer)
buffer
- The buffer to decode the object from.