Class EntityMetadataCodec
java.lang.Object
net.glowstone.net.codec.play.entity.EntityMetadataCodec
- All Implemented Interfaces:
com.flowpowered.network.Codec<EntityMetadataMessage>
public final class EntityMetadataCodec
extends Object
implements com.flowpowered.network.Codec<EntityMetadataMessage>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.flowpowered.network.Codec
com.flowpowered.network.Codec.CodecRegistration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecode
(io.netty.buffer.ByteBuf buf) io.netty.buffer.ByteBuf
encode
(io.netty.buffer.ByteBuf buf, EntityMetadataMessage message)
-
Constructor Details
-
EntityMetadataCodec
public EntityMetadataCodec()
-
-
Method Details
-
decode
- Specified by:
decode
in interfacecom.flowpowered.network.Codec<EntityMetadataMessage>
- Throws:
IOException
-
encode
public io.netty.buffer.ByteBuf encode(io.netty.buffer.ByteBuf buf, EntityMetadataMessage message) throws IOException - Specified by:
encode
in interfacecom.flowpowered.network.Codec<EntityMetadataMessage>
- Throws:
IOException
-