public final class EntityHeadRotationCodec extends Object implements com.flowpowered.network.Codec<EntityHeadRotationMessage>
| Constructor and Description |
|---|
EntityHeadRotationCodec() |
| Modifier and Type | Method and Description |
|---|---|
EntityHeadRotationMessage |
decode(io.netty.buffer.ByteBuf buf) |
io.netty.buffer.ByteBuf |
encode(io.netty.buffer.ByteBuf buf,
EntityHeadRotationMessage message) |
public EntityHeadRotationMessage decode(io.netty.buffer.ByteBuf buf) throws IOException
decode in interface com.flowpowered.network.Codec<EntityHeadRotationMessage>IOExceptionpublic io.netty.buffer.ByteBuf encode(io.netty.buffer.ByteBuf buf,
EntityHeadRotationMessage message)
throws IOException
encode in interface com.flowpowered.network.Codec<EntityHeadRotationMessage>IOExceptionCopyright © 2021. All rights reserved.