Package net.glowstone.net.message.play.entity

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


        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

TOP

Related Classes of net.glowstone.net.message.play.entity.SpawnPlayerMessage

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