int throwerId = buffer.readInt();
if (throwerId > 0) {
short speedX = buffer.readShort();
short speedY = buffer.readShort();
short speedZ = buffer.readShort();
return new EntityObjectMessage(entityId, type, x, y, z, throwerId, speedX, speedY, speedZ, yaw, pitch, NullRepositionManager.getInstance());
}
return new EntityObjectMessage(entityId, type, x, y, z, throwerId, yaw, pitch, NullRepositionManager.getInstance());
}