public void ReadPacket(MinecraftStream stream) { X = stream.ReadDouble(); Y = stream.ReadDouble(); Stance = stream.ReadDouble(); Z = stream.ReadDouble(); OnGround = stream.ReadBoolean(); }
public void ReadPacket(MinecraftStream stream) { // TODO: Investigate if Y/Stance are indeed swapped X = stream.ReadDouble(); Y = stream.ReadDouble(); Stance = stream.ReadDouble(); Z = stream.ReadDouble(); Yaw = stream.ReadSingle(); Pitch = stream.ReadSingle(); OnGround = stream.ReadBoolean(); }
public void ReadPacket(MinecraftStream stream) { X = stream.ReadDouble(); Y = stream.ReadDouble(); Z = stream.ReadDouble(); Radius = stream.ReadSingle(); RecordCount = stream.ReadInt32(); Records = stream.ReadUInt8Array(RecordCount * 3); PlayerVelocityX = stream.ReadSingle(); PlayerVelocityY = stream.ReadSingle(); PlayerVelocityZ = stream.ReadSingle(); }