Examples of SpawnPlayerMessage


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

        int z = buf.readInt();
        int rotation = buf.readByte();
        int pitch = buf.readByte();
        int item = buf.readShort();
        List<MetadataMap.Entry> list = GlowBufUtils.readMetadata(buf);
        return new SpawnPlayerMessage(id, uuid, x, y, z, rotation, pitch, item, list);
    }
View Full Code Here

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

        int x = Position.getIntX(location);
        int y = Position.getIntY(location);
        int z = Position.getIntZ(location);
        int yaw = Position.getIntYaw(location);
        int pitch = Position.getIntPitch(location);
        result.add(new SpawnPlayerMessage(id, profile.getUniqueId(), x, y, z, yaw, pitch, 0, metadata.getEntryList()));

        // head facing
        result.add(new EntityHeadRotationMessage(id, yaw));

        // equipment
View Full Code Here

Examples of net.lightstone.msg.SpawnPlayerMessage

    int y = buffer.readInt();
    int z = buffer.readInt();
    int rotation = buffer.readUnsignedByte();
    int pitch = buffer.readUnsignedByte();
    int item = buffer.readUnsignedShort();
    return new SpawnPlayerMessage(id, name, x, y, z, rotation, pitch, item);
  }
View Full Code Here

Examples of net.lightstone.msg.SpawnPlayerMessage

    int x = position.getPixelX();
    int y = position.getPixelY();
    int z = position.getPixelZ();
    int yaw = rotation.getIntYaw();
    int pitch = rotation.getIntPitch();
    return new SpawnPlayerMessage(id, name, x, y, z, yaw, pitch, 0);
  }
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.