Examples of CreativeItemMessage


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

public final class CreativeItemCodec implements Codec<CreativeItemMessage> {
    @Override
    public CreativeItemMessage decode(ByteBuf buf) throws IOException {
        int slot = buf.readShort();
        ItemStack item = GlowBufUtils.readSlot(buf);
        return new CreativeItemMessage(slot, item);
    }
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.