Examples of DiggingMessage


Examples of net.glowstone.net.message.play.player.DiggingMessage

    @Override
    public DiggingMessage decode(ByteBuf buf) throws IOException {
        int state = buf.readByte();
        BlockVector pos = GlowBufUtils.readBlockPosition(buf);
        int face = buf.readByte();
        return new DiggingMessage(state, pos.getBlockX(), pos.getBlockY(), pos.getBlockZ(), face);
    }
View Full Code Here

Examples of net.lightstone.msg.DiggingMessage

    int state = buffer.readUnsignedByte();
    int x = buffer.readInt();
    int y = buffer.readUnsignedByte();
    int z = buffer.readInt();
    int face = buffer.readUnsignedByte();
    return new DiggingMessage(state, x, y, z, face);
  }
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.