Package net.glowstone.net.message.play.inv

Examples of net.glowstone.net.message.play.inv.EnchantItemMessage


public final class EnchantItemCodec implements Codec<EnchantItemMessage> {
    @Override
    public EnchantItemMessage decode(ByteBuf buf) throws IOException {
        int window = buf.readByte();
        int enchantment = buf.readByte();
        return new EnchantItemMessage(window, enchantment);
    }
View Full Code Here

TOP

Related Classes of net.glowstone.net.message.play.inv.EnchantItemMessage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.