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