Class EntityEffectCodec
java.lang.Object
net.glowstone.net.codec.play.entity.EntityEffectCodec
- All Implemented Interfaces:
com.flowpowered.network.Codec<EntityEffectMessage>
public final class EntityEffectCodec
extends Object
implements com.flowpowered.network.Codec<EntityEffectMessage>
-
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, EntityEffectMessage message)
-
Constructor Details
-
EntityEffectCodec
public EntityEffectCodec()
-
-
Method Details
-
decode
- Specified by:
decode
in interfacecom.flowpowered.network.Codec<EntityEffectMessage>
- Throws:
IOException
-
encode
public io.netty.buffer.ByteBuf encode(io.netty.buffer.ByteBuf buf, EntityEffectMessage message) throws IOException - Specified by:
encode
in interfacecom.flowpowered.network.Codec<EntityEffectMessage>
- Throws:
IOException
-