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