Examples of EnchantItemMessage


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
Copyright © 2018 www.massapi.com. 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.