Examples of SpawnPaintingMessage


Examples of net.glowstone.net.message.play.entity.SpawnPaintingMessage

    public SpawnPaintingMessage decode(ByteBuf buf) throws IOException {
        int id = ByteBufUtils.readVarInt(buf);
        String title = ByteBufUtils.readUTF8(buf);
        BlockVector vector = GlowBufUtils.readBlockPosition(buf);
        int facing = buf.readByte();
        return new SpawnPaintingMessage(id, title, vector.getBlockX(), vector.getBlockY(), vector.getBlockZ(), facing);
    }
View Full Code Here

Examples of net.lightstone.msg.SpawnPaintingMessage

    String title = ChannelBufferUtils.readString(buffer);
    int x = buffer.readInt();
    int y = buffer.readInt();
    int z = buffer.readInt();
    int type = buffer.readInt();
    return new SpawnPaintingMessage(id, title, x, y, z, type);
  }
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.