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